3 #ifdef COMPONENT_SYSTEM
4 class GenericEntity
extends IEntity
7 proto native
void Show(
bool show);
13 proto native GenericComponent FindComponent(
typename typeName);
22 proto native
void InsertComponent(GenericComponent
component);
30 proto native
void RemoveComponent(GenericComponent
component);
39 proto native
void DeleteComponent(GenericComponent
component);
45 void _WB_AfterWorldUpdate(
float timeSlice) {};
49 class GenericWorldEntity
extends GenericEntity
53 class GenericTerrainEntity
extends GenericEntity
57 class LightEntity
extends GenericEntity
63 proto native external
void SetDiffuseColor(
int color);
64 proto native external
int GetDiffuseColor();
66 proto native external
void SetRadius(
float radius);
73 proto native external
void SetConeAngle(
float angle);
78 proto native external
float GetConeAngle();
80 proto native external
void SetCastShadow(
bool enable);
81 proto native external
bool IsCastShadow(
bool enable);
84 class GenericWorldLightEntity
extends GenericEntity
88 class GenericWorldFogEntity
extends GenericEntity
92 class BasicEntity
extends GenericEntity
96 class WorldEntityClass
100 class WorldEntity
extends GenericWorldEntity
104 class ModelEntity
extends BasicEntity
108 enum CharacterMovement
122 STANCE_CROUCH_RAISED,
126 class CharacterEntity
extends BasicEntity
128 proto native
void Teleport(
vector transform[4]);
129 proto native CharacterMovement GetCurrentMovement();
130 proto native CharacterStance GetCurrentStance();
133 class BasicCamera
extends BasicEntity
137 class VRHandEntity
extends GenericEntity