Changeset 15ddb57 in advance-wars
- Timestamp:
- Jan 30, 2011, 10:40:29 PM (14 years ago)
- Branches:
- master
- Children:
- 54e0965
- Parents:
- a0f5455
- Location:
- src/com/example
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/example/advancewars/Map.java
ra0f5455 r15ddb57 2 2 3 3 import android.graphics.Canvas; 4 import android.graphics.Point; 4 5 5 6 public class Map { … … 35 36 grid[x][y].draw(c, xStart+50*x, yStart+50*y); 36 37 } 38 39 public Tile getTile(Point point) 40 { 41 return grid[point.x][point.y]; 42 } 37 43 } -
src/com/example/game/Unit.java
ra0f5455 r15ddb57 11 11 12 12 } 13 public enum Type 14 { 15 LAND,SEA 16 } 17 18 public Type type; 19 public Player owner; 20 13 21 public int maxHealth; 14 22 public int currentHealth;
Note:
See TracChangeset
for help on using the changeset viewer.