22 #ifndef CAFU_ARGRENADE_HPP_INCLUDED
23 #define CAFU_ARGRENADE_HPP_INCLUDED
25 #include "BaseEntity.hpp"
26 #include "Libs/Physics.hpp"
42 void SetHeading(
unsigned short h) { m_Heading = h; }
43 void SetVelocity(
const Vector3dT& v) { m_Velocity = v; }
45 void Think(
float FrameTime,
unsigned long ServerFrameNr);
47 void ProcessEvent(
unsigned int EventType,
unsigned int NumEvents);
48 bool GetLightSourceInfo(
unsigned long& DiffuseColor,
unsigned long& SpecularColor,
VectorT& Position,
float& Radius,
bool& CastsShadows)
const;
49 void Draw(
bool FirstPersonView,
float LodDist)
const;
63 enum EventTypesT { EVENT_TYPE_EXPLODE, NUM_EVENT_TYPES };
This class implements the physics for moving entities through the world.
Definition: Physics.hpp:35
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:60
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: ARGrenade.hpp:35
Definition: TypeSys.hpp:67
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:94