Things have been going sluggishly lately due to some issues with a slew of cross references, inheritance, and multiple files. My BaseApplication class uses the Gob (Game Object) class which uses the BaseApplication . That went fine, no problems. But when I attempted to derive an Eye (Camera) class from Gob, putting the definition of Eye in it's own .h and .cpp files, the compiler whined about an undefined class Eye, despite the class Prototype I made. Anywho, the only solution I could come up with was to move all the code for the Eye into the Gob files.
Anywho, with that problem out of the way, I now have an Eye that can be attached to any other Gob. It will follow that Gob around the scene.
Tuesday, February 3, 2009
Subscribe to:
Posts (Atom)