28 #ifndef GAME_GAME_STICK_AREA_H 29 #define GAME_GAME_STICK_AREA_H 31 #include "hpl1/engine/engine.h" 32 #include "hpl1/penumbra-overture/GameEntity.h" 57 bool mbCheckCenterInArea;
78 void Update(
float afTimeStep);
80 void OnPostSceneDraw();
82 iPhysicsBody *GetAttachedBody() {
return mpAttachedBody; }
85 void SetAttachFunction(
const tString &asX) { msAttachFunction = asX; }
86 void SetDetachFunction(
const tString &asX) { msDetachFunction = asX; }
88 void SetAttachSound(
const tString &asX) { msAttachSound = asX; }
89 void SetDetachSound(
const tString &asX) { msDetachSound = asX; }
91 void SetAttachPS(
const tString &asX) { msAttachPS = asX; }
92 void SetDetachPS(
const tString &asX) { msDetachPS = asX; }
94 void SetCanDeatch(
bool abX) { mbCanDeatch = abX; }
97 void SetCheckCenterInArea(
bool abX) { mbCheckCenterInArea = abX; }
99 void SetPoseTime(
float afX) { mfPoseTime = afX; }
101 void SetMoveBody(
bool abX) { mbMoveBody = abX; }
102 bool GetMoveBody() {
return mbMoveBody; }
103 void SetRotateBody(
bool abX) { mbRotateBody = abX; }
104 bool GetRotateBody() {
return mbRotateBody; }
108 static bool mbAllowAttachment;
129 bool mbCheckCenterInArea;
158 #endif // GAME_GAME_STICK_AREA_H
Definition: GameEntity.h:76
Definition: GameStickArea.h:68
Definition: PhysicsBody.h:117
Definition: World3D.h:179
Definition: GameStickArea.h:38
Definition: GameStickArea.h:146
Definition: Entity3D.h:81
Definition: Resources.h:133
Definition: GameEntity.h:126