|
Public Member Functions |
| | Hibernation (String Name, String MeshFile, SceneNode *ParentNode, SceneManager *SceneMgr) |
| | Constructeur.
|
| virtual | ~Hibernation () |
| | Destruction.
|
| bool | frameStarted (const FrameEvent &evt) |
| | Gère les animations de la capsule d'hibernation.
|
| void | addFrameListener (short User) |
| | Gère le lancement du FrameListener.
|
| long | getTypeID (void) const |
| | Surchage de la fonction d'identification de la classe UserDefinedObject.
|
| void | addToScene () |
| | Ajoute la caisson à la scene courante.
|
| void | removeFromScene () |
| | Retire la capsule de la scene courante.
|
| void | setPosition (Vector3 Position) |
| | Positionne le caisson.
|
| Vector3 | getPosition (String RelativeTo="PARENT") |
| | Renvoie la position du Caisson. RelativeTo peut valoir "PARENT" ou "SHIP".
|
| void | setOrientation (int Orientation) |
| | Oriente le caisson.
|
| void | setOrientation (Quaternion Orientation) |
| | Oriente le caisson.
|
| void | setBroken (bool broken) |
| | Gere les pannes du caisson.
|
| void | setFocusOn () |
| | On active le focus au moment ou la souris passe sur l'objet.
|
| void | setFocusOff () |
| | Quand on perd le focus, on détruit le GUI d'interface Hibernation.
|
| void | createInterface () |
| | Crée un objet d'Interface Hibernation (GUI).
|
| void | removeInterface () |
| | Détruit un objet d'Interface Hibernation (GUI).
|
| void | hideInterface () |
| | L'interface est masquée mais pas détruite.
|
| void | requestExitInterface (Real seconds) |
| | Mémorise une demande de fin de la GUI.
|
| bool | isExitInterfaceRequiered () |
| | Renvoie TRUE si une demande de sortie de GUI est en cours.
|
| bool | isInterfaceDisabled () |
| | Renvoie TRUE si le GUI est inactif (cad non affiché).
|
| bool | isBroken () |
| | Renvois TRUE si le caisson est endommagé.
|
| bool | isOpened () |
| | Renvoie TRUE si le caisson est ouvert.
|
| bool | isClosed () |
| | Renvoie TRUE si le caisson est fermé.
|
| bool | closeDoor () |
| | Ferme le couvercle de la capsule.
|
| bool | openDoor () |
| | Ouvre le couvercle de la capsule.
|
| void | startSequence () |
| | Lance la séquence d'hibernation.
|
| void | endSequence () |
| | Lance la séquence de fin d'hibernation.
|
| void | loadObject () |
| | Charge les parametres initiaux du caisson.
|
| void | climb () |
| | Monte ou descent du caisson (pour le joueur).
|
| void | climbIn () |
| | Le joueur monte dans le caisson.
|
| void | climbOut () |
| | Le joueur descend du caisson.
|
| void | setDuration (int duration) |
| | Mémorise la durée de l'hibernation à effectuer.
|
| void | setMaterialScreen () |
| | Met à jour l'image réduite de l'interface de commande du Caisson.
|
| String | getStatus () |
| | Renvoie le status du caisson d'hibernation sous forme de chaine XML.
|
| String | getName () |
| | Renvoie le nom du caisson.
|
Protected Types |
| enum | tStatus { OPENED,
CLOSED,
OPENING,
CLOSING
} |
| enum | tPhase { IDLE,
STARTING,
OPERATING,
ENDING
} |
Protected Attributes |
| Root * | mRoot |
| SceneManager * | mSceneMgr |
| String | mHibernationName |
| SceneNode * | mHibernationNode |
| SceneNode * | mParentNode |
| Entity * | mEntity |
| int | mScreenEntity |
| bool | mBroken |
| bool | mLocked |
| bool | mHasFocus |
| tPhase | mPhase |
| Real | mFineClock |
| int | mGrossClock |
| int | mLastGrossClock |
| int | mCptFrame |
| int | mTemperature |
| int | mInitialDuration |
| long | mInitialDate |
| long | mFinalDate |
| Body * | mSubject |
| String | mSubjectName |
| bool | mExitGui |
| Real | mExitGuiDelay |
| tStatus | mStatus |
| AnimationState * | mAnimState |
| Real | mAnimationSpeed |
| short | mListenerNeeded |
| Real | mEndFog |
| int | mOpenSoundChannel |
| int | mStartSoundChannel |
| int | mEndSoundChannel |
| int | mOperatingSoundChannel |
| int | mHelloSoundChannel |
| int | mOperatingSoundFrequency |
| int | mOperatingSoundVolume |
| SceneNode * | mParticulesNode |
| ParticleSystem * | mSmoke |
| ParticleSystem * | mSparks |
| ParticleSystem * | mGivre |
| String | mMeshFile |
| String | mInterfaceFile |
| String | mOpenSoundFile |
| String | mStartSoundFile |
| String | mEndSoundFile |
| String | mHelloSoundFile |
| String | mOperatingSoundFile |
| Hibernation_Interface * | mHibernation_GUI |
Friends |
| class | Hibernation_Interface |