22 #ifndef CAFU_ROCKET_HPP_INCLUDED
23 #define CAFU_ROCKET_HPP_INCLUDED
25 #include "BaseEntity.hpp"
41 void SetHeading(
unsigned short h) { m_Heading = h; }
42 void SetVelocity(
const Vector3dT& v) { m_Velocity = v; }
44 void Think(
float FrameTime,
unsigned long ServerFrameNr);
46 void ProcessEvent(
unsigned int EventType,
unsigned int NumEvents);
47 bool GetLightSourceInfo(
unsigned long& DiffuseColor,
unsigned long& SpecularColor,
VectorT& Position,
float& Radius,
bool& CastsShadows)
const;
48 void Draw(
bool FirstPersonView,
float LodDist)
const;
62 enum EventTypesT { EVENT_TYPE_EXPLODE, NUM_EVENT_TYPES };
67 float m_TimeSinceExploded;
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:60
Definition: Rocket.hpp:34
This class represents a sound.
Definition: Sound.hpp:30
This class is used for reading data from a StateT instance (deserialization).
Definition: State.hpp:222
Definition: EntityCreateParams.hpp:38
Definition: BaseEntity.hpp:85
This class is used for writing data into a StateT instance (serialization).
Definition: State.hpp:96
Definition: TypeSys.hpp:67
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:94