Cafu Engine
GameSys Namespace Reference

This group contains all script classes related to game worlds in Cafu. More...

Classes

class  ComponentBaseT
 This is the base class for the components that a game entity is composed/aggregated of. More...
 
class  ComponentBasicsT
 This component adds the basic details of the entity (its name, the "is static?" flag, Map Editor data). More...
 
class  ComponentCarriedWeaponT
 This component represents a weapon that a player can pick up and use. More...
 
class  ComponentCollisionModelT
 This component adds a collision model to its entity. More...
 
class  ComponentHumanPlayerT
 Entities with this component are associated with a client connection at whose end is a human player who provides input to control the entity. More...
 
class  ComponentInventoryT
 This component keeps an inventory count for an arbitrary set of items. More...
 
class  ComponentLightT
 The common base class for light source components. More...
 
class  ComponentModelT
 This component adds a 3D model to its entity. More...
 
class  ComponentMoverT
 This component controls the movement of one or more entities and implements the related effects. More...
 
class  ComponentParticleSystemOldT
 This component adds a particle system to its entity. More...
 
class  ComponentPhysicsT
 This component includes the body of this entity in the dynamic simulation of physics. More...
 
class  ComponentPlayerPhysicsT
 This component implements human player physics for its entity. More...
 
class  ComponentPlayerStartT
 This component marks its entity as possible spawn point for human players that begin a single-player level or join a multi-player game. More...
 
class  ComponentPointLightT
 This component adds a dynamic point light source to its entity. More...
 
class  ComponentRadiosityLightT
 This component adds a radiosity point light source to its entity. More...
 
class  ComponentScriptT
 This component runs custom Lua script code, implementing the behaviour of the entity in the game world. More...
 
class  ComponentSoundT
 This component adds 3D sound output to its entity. More...
 
class  ComponentTargetT
 This component connects its entity to another. More...
 
class  ComponentTransformT
 This component adds information about the position and orientation of its entity. More...
 
class  EntityT
 An entity is the basic element in a game world. More...
 
class  WorldT
 This class holds the hierarchy of game entities that populate a game world. More...
 

Detailed Description

This group contains all script classes related to game worlds in Cafu.

Cafu game worlds are much like the real world: They are made of a hierarchy of entities. Each entity has components e.g. for meshes, graphics, sound and many others, and can be interacted with.

TODO: This description is very incomplete – see GuiNamespace.hpp for a better example.