home *** CD-ROM | disk | FTP | other *** search
- #ifndef __GameObject_h__
- #define __GameObject_h__
-
- #include "vectormath.h"
- #include "LightEffectsParticleClusters.h"
-
- #define GAME_OBJECT_MIN_PITCH (0.0f)
- #define GAME_OBJECT_MAX_PITCH (PI)
-
-
- class GameObject{
- public:
- vec3_t pos, dir, up, left, vel;
- float yaw, pitch;
- float turnSpeed, moveSpeed;
- list<DynamicLightParticleCluster*> attachedDlpcs;
-
- GameObject();
- virtual ~GameObject();
-
- virtual void reconstructVectors();
- virtual void vectorsFromAngles();
- virtual void anglesFromVectors();
-
-
- virtual void attachDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
- virtual void detachDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
-
- // virtual void move(float deltaT) = 0;
- // virtual bool collisionDetection(vec3_t displacement) = 0;
-
- };
-
-
- #endif /* __GameObject_h__ */
-