Changeset ebaddd9 in advance-wars for src/com/medievaltech/game/Tile.java
- Timestamp:
- Feb 2, 2011, 3:36:46 AM (14 years ago)
- Branches:
- master
- Children:
- 6a639f7
- Parents:
- 5d77d43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/medievaltech/game/Tile.java
r5d77d43 rebaddd9 22 22 } 23 23 24 public Tile(Tile t ) {24 public Tile(Tile t, Point point) { 25 25 this.type = t.type; 26 26 this.moveCoefficent = t.moveCoefficent; 27 27 this.p = t.p; 28 this.point = point; 28 29 } 29 30 30 31 public void addUnit(Unit unit) { 31 currentUnit = unit; 32 currentUnit = unit; 33 unit.location = point; 32 34 } 33 35
Note:
See TracChangeset
for help on using the changeset viewer.