Last change
on this file since 511177b was c3ad11c, checked in by dportnoy <devnull@…>, 13 years ago |
Units are now colored based on the player that controls them. The controlling player is specified in the unit's constructor.
|
-
Property mode
set to
100644
|
File size:
767 bytes
|
Rev | Line | |
---|
[113d7cf] | 1 | package com.medievaltech.unit;
|
---|
[b23048f] | 2 |
|
---|
| 3 | import java.util.List;
|
---|
| 4 |
|
---|
| 5 | import android.graphics.Point;
|
---|
| 6 |
|
---|
[fea4b77] | 7 | import com.medievaltech.advancewars.Enum.*;
|
---|
| 8 |
|
---|
[b23048f] | 9 | public class Recon extends Unit{
|
---|
[c3ad11c] | 10 | public Recon(Player p)
|
---|
[b23048f] | 11 | {
|
---|
| 12 | super(p);
|
---|
| 13 |
|
---|
| 14 | move = 8;
|
---|
| 15 |
|
---|
[fea4b77] | 16 | type = UnitType.LAND;
|
---|
[b23048f] | 17 | minAttackRange = 1;
|
---|
| 18 | maxAttackRange = 1;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | @Override
|
---|
| 22 | public void move(Point point) {
|
---|
| 23 | // TODO Auto-generated method stub
|
---|
| 24 |
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | @Override
|
---|
| 28 | public void attack(Point point) {
|
---|
| 29 | // TODO Auto-generated method stub
|
---|
| 30 |
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | @Override
|
---|
| 34 | public List<Point> getMovementRange() {
|
---|
| 35 | return super.getMovementRange();
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | @Override
|
---|
| 39 | public void die()
|
---|
| 40 | {
|
---|
| 41 |
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 | @Override
|
---|
| 45 | public List<Point> getAttackRange() {
|
---|
| 46 | // TODO Auto-generated method stub
|
---|
| 47 | return null;
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.