As stated in the last post, here is the current state of the Rithim
The blue represents the main flow of the game. We start with building upon the engine, creating a simple world class that can be used for more than just creating a game class off of, and a main class from which we send our GameBean to from an activity. The GameBean represents the games rules and objectives.
The grey represents the breakdown of the sprites. I have a BaseSprite class that overrides a few methods, such as getX() and getY(), where I add a little code so that I get the center of the sprite, rather than the top corner when I ask for its coordinates. some of these haven't been finished/extended properly yet so I left them floating there but there are more to join them, such as subclasses of the Item class.
Finally, the purple represents the Managers or Factories. I can't decided which to call them. They manage their objects to the fullest degree, but also create them like a factory. Maybe go with Mantories...? or Factagers...? Whatever you want to call them, they handle the creation of 1 or many of their children e.g. ObstacleManager creates obstacles!!!
No comments:
Post a Comment