1
0
Fork 0
Commit Graph

3 Commits (af89ae73372e34719b147a4c24c733d6b8392d9a)

Author SHA1 Message Date
Mike Gerwitz af89ae7337
Begin transition toward decoupling GameObject (specifically Tank) and MapAction
I will be rethinking MapAction in general
2013-01-21 23:04:33 -05:00
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