Aug 08, 2006 00:49
Phase three is still in progress.
I'm also simplifying matters from phases 1 and 2 (Adding another simple way to reduce the amount of work it takes to check collisions), and working on file formats for all of these things. Rather than having a million entity classes, there'll be one class that is parsed out of a file to create that entity. Similarly, movement instructions for computer-controlled things will be stored in files. Somewhere in Phase 4, there will be files to define the events throughout a level, creating entities and assigning them instructions.
This means a factory for the instructions, a class to contain the instructions, and a map to associate the name of a script with the script itself. For entities this will mean a class to contain the info for an entity, and modifying the entity class to take one of those in the constructor.
I'm sure there's something I'm horribly overlooking here.