entity.h datatypes.h ENTITY EntityType ENTITY_NONE 0 ENTITY_PLAYER_MULTI_START //Yank/renamethisclass #ifndef__entity_h__ #define__entity_h__ #include"datatypes.h" enumEntityType{//Beginentitydeclaration ENTITY_NONE=0,//Nonexistantentitythisshouldneverbeused. ENTITY_PLAYER_MULTI_START//Playerstartpositionformultiplayer. };//Endentitydeclaration classENTITY { public: ENTITY() { type=ENTITY_NONE; vPosition=Vec3f(0,0,0); vHeading=Vec3f(0,0,0); vUp=Vec3f(0,0,0); health=0; } uint32type; Vec3fvPosition; Vec3fvHeading; Vec3fvUp; uint16health; }; #endif