Changeset ebaddd9 in advance-wars for src/com/medievaltech/game/Map.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/Map.java

    r5d77d43 rebaddd9  
    1616                for(int x=0; x<getWidth(); x++)
    1717                        for(int y=0; y<getHeight(); y++)
    18                                 grid[x][y] = new Tile(t);
     18                                grid[x][y] = new Tile(t, new Point(x, y));
    1919        }
    2020       
Note: See TracChangeset for help on using the changeset viewer.