Added Manager.[cpp|h] and completed the basic methods
Added, LogManager and Utilities classes. Completed Dev Checkpoint #1 (could use a bit more testing though).
Fixed method signatures in LogManager. Added a clock class with some tests. Everything appears to be in working order.
Some changes to clock testing to make it a little easier to deal with.
Added in GameManager functionality. The game loop runs correctly. It's perhaps a little slow, but I'm not sure what a significant figure is in this case.
Completed Position class. Everything is working correctly.
Object class is defined.
Added ObjectList. Everything appears to be working correctly.
Added createIterator() to ObjectList. Finished ObjectListIterator and it walks through an ObjectList correctly.
Added code to allow ObjectList to expand, and to concatenate two ObjectLists. No real testing has been done on this code yet.
Added log message if the game loop is running slow. Fixed an error in a for loop during ObjectList testing. It is working correctly now. Updated ObjectList default size to something a little more reasonable. This marks Dev Checkpoint #3.
Added Event (and Step event), as well as WorldManager. Added the missing is_started statement to GameManager. Added eventHandler function to Object and added code to the constructor and destructor to add and remove it from the world, respectively.
Added checks to markForDelete and added code to the Update function. Testing for DC#4 to come.
Added code to test WorldManager. Objects were added correctly, deleted
correctly, and received events correctly. Added in Saucer.(cpp|h) to
simply to test object addition. This marks Dev Checkpoint #4.
Refactored startup/shutdown of managers to call the base class's function
to handle common things. Cleaned up tests so that there is as little
in GameManager::run as possible, and what is left in there is marked
as being game code or test code. Added an actual shutDown function to
WorldManager, which deletes all the object left over. This marks
Project 2a.
Added event handling to classes. Added (un)registerInterest to Manager
and Object. Object will unregister on deletetion. isValid is implemented
(though it's only in GameManager for now). This is Dev Checkpoint #5, but
nothing has been tested as of yet.
Fixed the order of manager shutdown
Moved register functions from private to public in Object. Added testing,
having created Saucers register for STEP_EVENT when created.
Added GraphicsManager class.
Added and tested graphics. Removed all of the test code from project 2a.
This marks Dev Checkpoint #6.