1
0
Fork 0
Commit Graph

2 Commits (b6ef9cba15d64014bb01093bb8f70c280e8880c8)

Author SHA1 Message Date
Mike Gerwitz b6ef9cba15
Player movement restricted to map boundaries
This is an initial working concept; refactoring is certainly needed (in
particular, note the MapStae.movePlayer() 'bounds' argument).
2013-01-20 10:20:51 -05:00
Mike Gerwitz 8f3ce4f8c6
Initial concept for player (tank) movement; state-driven map
Rendering now relies on hooking MapState, which represents the current state of
the map, raising events as various game objects change position or state.

This is a simple proof-of-concept---the tank moves, but only upward, and the
tile redraw does need work. There is no collision detection.
2013-01-19 13:50:50 -05:00