Changeset 78d3c6f in advance-wars
- Timestamp:
- Feb 5, 2011, 11:01:49 PM (14 years ago)
- Branches:
- master
- Children:
- b23048f
- Parents:
- b97a618
- Location:
- src/com/medievaltech/game
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/medievaltech/game/Soldier.java
rb97a618 r78d3c6f 7 7 8 8 public class Soldier extends Unit{ 9 public Soldier(Paint p) { 9 public Soldier(Paint p) 10 { 10 11 super(p); 11 12 12 13 move = 2; 14 15 type = Type.LAND; 16 minAttackRange = 1; 17 maxAttackRange = 1; 13 18 } 14 19 -
src/com/medievaltech/game/Unit.java
rb97a618 r78d3c6f 33 33 public Point location; 34 34 35 public Unit(Paint p) { 35 public Unit(Paint p) 36 { 36 37 this.p = p; 38 maxHealth = 10; 39 currentHealth = 10; 40 37 41 } 38 42
Note:
See TracChangeset
for help on using the changeset viewer.