December 2002
Intermediate to advanced
648 pages
19h 53m
English
In order to run a game, we repeatedly call six methods for each critter, cycling through the calls over and over. The cGame::step method orchestrates the calls.
Figure 8.4 isn’t any particular kind of official UML diagram, it’s simply an informal way of showing the order in which a critter object is cycled through its main method calls, with time flowing in the clockwise direction.

We give the cCritter a basic update(CPopView *pactiveview, Real dt) method. The argument isn’t often used; a bit more about it appears ...
Read now
Unlock full access