Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Demo::TutorialGameState Class Reference

Base game state for the tutorials. All it does is show a little text on screen :) More...

#include <TutorialGameState.h>

+ Inheritance diagram for Demo::TutorialGameState:
+ Collaboration diagram for Demo::TutorialGameState:

Public Member Functions

 TutorialGameState (const Ogre::String &helpDescription)
 
virtual ~TutorialGameState ()
 
void _notifyGraphicsSystem (GraphicsSystem *graphicsSystem)
 
virtual void createScene01 (void)
 
virtual void update (float timeSinceLast)
 
virtual void keyPressed (const SDL_KeyboardEvent &arg)
 
virtual void keyReleased (const SDL_KeyboardEvent &arg)
 
virtual void mouseMoved (const SDL_Event &arg)
 
- Public Member Functions inherited from Demo::GameState
virtual ~GameState ()
 
virtual void initialize (void)
 
virtual void deinitialize (void)
 
virtual void createScene02 (void)
 
virtual void destroyScene (void)
 
virtual void finishFrameParallel (void)
 
virtual void finishFrame (void)
 
- Public Member Functions inherited from Demo::MouseListener
virtual void mousePressed (const SDL_MouseButtonEvent &arg, Ogre::uint8 id)
 
virtual void mouseReleased (const SDL_MouseButtonEvent &arg, Ogre::uint8 id)
 
- Public Member Functions inherited from Demo::KeyboardListener
virtual void textEditing (const SDL_TextEditingEvent &arg)
 
virtual void textInput (const SDL_TextInputEvent &arg)
 
- Public Member Functions inherited from Demo::JoystickListener
virtual void joyButtonPressed (const SDL_JoyButtonEvent &evt, int button)
 
virtual void joyButtonReleased (const SDL_JoyButtonEvent &evt, int button)
 
virtual void joyAxisMoved (const SDL_JoyAxisEvent &arg, int axis)
 
virtual void joyPovMoved (const SDL_JoyHatEvent &arg, int index)
 

Protected Member Functions

virtual void createDebugTextOverlay (void)
 
virtual void generateDebugText (float timeSinceLast, Ogre::String &outText)
 

Protected Attributes

GraphicsSystemmGraphicsSystem
 
CameraControllermCameraController
 Optional, for controlling the camera with WASD and the mouse. More...
 
Ogre::String mHelpDescription
 
Ogre::uint16 mDisplayHelpMode
 
Ogre::uint16 mNumDisplayHelpModes
 
Ogre::v1::TextAreaOverlayElement * mDebugText
 
Ogre::v1::TextAreaOverlayElement * mDebugTextShadow
 

Detailed Description

Base game state for the tutorials. All it does is show a little text on screen :)

Constructor & Destructor Documentation

◆ TutorialGameState()

Demo::TutorialGameState::TutorialGameState ( const Ogre::String &  helpDescription)

◆ ~TutorialGameState()

Demo::TutorialGameState::~TutorialGameState ( )
virtual

Member Function Documentation

◆ _notifyGraphicsSystem()

void Demo::TutorialGameState::_notifyGraphicsSystem ( GraphicsSystem graphicsSystem)

◆ createDebugTextOverlay()

void Demo::TutorialGameState::createDebugTextOverlay ( void  )
protectedvirtual
+ Here is the caller graph for this function:

◆ createScene01()

void Demo::TutorialGameState::createScene01 ( void  )
virtual

Reimplemented from Demo::GameState.

+ Here is the call graph for this function:

◆ generateDebugText()

void Demo::TutorialGameState::generateDebugText ( float  timeSinceLast,
Ogre::String &  outText 
)
protectedvirtual
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keyPressed()

void Demo::TutorialGameState::keyPressed ( const SDL_KeyboardEvent arg)
virtual

Reimplemented from Demo::KeyboardListener.

+ Here is the call graph for this function:

◆ keyReleased()

void Demo::TutorialGameState::keyReleased ( const SDL_KeyboardEvent arg)
virtual

Reimplemented from Demo::KeyboardListener.

+ Here is the call graph for this function:

◆ mouseMoved()

void Demo::TutorialGameState::mouseMoved ( const SDL_Event arg)
virtual

Reimplemented from Demo::MouseListener.

+ Here is the call graph for this function:

◆ update()

void Demo::TutorialGameState::update ( float  timeSinceLast)
virtual

Reimplemented from Demo::GameState.

+ Here is the call graph for this function:

Member Data Documentation

◆ mCameraController

CameraController* Demo::TutorialGameState::mCameraController
protected

Optional, for controlling the camera with WASD and the mouse.

◆ mDebugText

Ogre::v1::TextAreaOverlayElement* Demo::TutorialGameState::mDebugText
protected

◆ mDebugTextShadow

Ogre::v1::TextAreaOverlayElement* Demo::TutorialGameState::mDebugTextShadow
protected

◆ mDisplayHelpMode

Ogre::uint16 Demo::TutorialGameState::mDisplayHelpMode
protected

◆ mGraphicsSystem

GraphicsSystem* Demo::TutorialGameState::mGraphicsSystem
protected

◆ mHelpDescription

Ogre::String Demo::TutorialGameState::mHelpDescription
protected

◆ mNumDisplayHelpModes

Ogre::uint16 Demo::TutorialGameState::mNumDisplayHelpModes
protected

The documentation for this class was generated from the following files: