Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

WorldObjects.cpp File Reference

Implements CWorldObject and derived classes. More...

#include "../Include/Globals.h"
#include "../Include/FlyLegacy.h"
#include "../Include/WorldObjects.h"
#include "../Include/Utility.h"

Go to the source code of this file.


Detailed Description

All objects in the simulation world that have 3D renderable geometry or any kind of real-time behaviour are implemented as some kind of "world object". At the top level of the class hierarchy are the abstract classes CWorldObjectBase and CWorldObject. Concrete classes follow a strict hierarchy, with additional features being implemented at each successive level. The CModelObject class adds renderable 3D geometry and the concepts of location and orientation to the CWorldObject. The CSimulatedObject class adds real-time behaviour of some sort, with the addition of a method that is called on each simulation timeslice. The CVehicleObject is the parent for all types of vehicles, including CAirplane for fixed-wing aircraft, CHelicopter for rotary-wing aircraft, and CGroundVehicle for ground vehicles.

Definition in file WorldObjects.cpp.
SourceForge.net Logo Documentation generated by doxygen