Changeset ebaddd9 in advance-wars for src/com/medievaltech/game/Soldier.java


Ignore:
Timestamp:
Feb 2, 2011, 3:36:46 AM (14 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
6a639f7
Parents:
5d77d43
Message:

Added code to draw a unit's possible movement options on the map.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/medievaltech/game/Soldier.java

    r5d77d43 rebaddd9  
    99        public Soldier(Paint p) {
    1010                super(p);
     11               
     12                move = 2;
    1113        }
    1214       
     
    2426
    2527        @Override
    26         public List<Point> getRange() {
    27                 // TODO Auto-generated method stub
    28                 return null;
     28        public List<Point> getMovementRange() {
     29                return super.getMovementRange();
    2930        }
    3031
Note: See TracChangeset for help on using the changeset viewer.