The issues I am talking about arenât restricted to the creature classes (So this might not be the place to discuss them really) so I imagine these going into mainline.
For example, the game class seems to be a lot of things at once. It is:
A- The driver: it initializes, loads, saves and quits the game.
B- Game World: It keeps track of where zombies and players are, light, fungus âŚetc
C- Player and monster actions: throwing, firing, using computers âŚetc are for some reason game methods that some times take a player object as input.
D- UI: display messages, draw explosions and bullets âŚetc, handle mouse.
This means that a class which needs any subset of this functionality, has to be exposed to the whole thing. and since game is the super class that knows about all other classes, we end up with lots of unnecessary loops.
This is just one example of the kind of thing I would like to address. Maybe I should start a new thread so as not to pollute the current thread?