Public Member Functions | |
| void | init () |
| void | setWaitTime (int time) |
| void | exitFromScene () |
| void | onKeyboardPressedSDL (SDL_Keycode sdl_key, Uint16 modifier) |
| Triggering when pressed any key on keyboard. | |
| LuaEngine * | getLuaEngine () |
| void | update () |
| void | render () |
| int | exec () |
Public Member Functions inherited from Scene | |
| void | updateTickValue () |
| Scene (TypeOfScene _type) | |
| virtual void | onKeyInput (int key) |
| Triggering when pressed game specific key. | |
| virtual void | onKeyboardPressed (SDL_Scancode scancode) |
| Triggering when pressed any key on keyboard. | |
| virtual void | onKeyboardReleased (SDL_Scancode scancode) |
| Triggering when pressed any key on keyboard. | |
| virtual void | onKeyboardReleasedSDL (SDL_Keycode sdl_key, Uint16 modifier) |
| Triggering when pressed any key on keyboard. | |
| virtual void | onMouseMoved (SDL_MouseMotionEvent &mmevent) |
| virtual void | onMousePressed (SDL_MouseButtonEvent &mbevent) |
| virtual void | onMouseReleased (SDL_MouseButtonEvent &mbevent) |
| virtual void | onMouseWheel (SDL_MouseWheelEvent &wheelevent) |
| virtual void | processEvents () |
| virtual void | updateLua () |
| virtual void | renderMouse () |
| TypeOfScene | type () |
| void | addRenderFunction (const std::function< void()> &renderFunc) |
| void | clearRenderFunctions () |
| virtual bool | isVizibleOnScreen (PGE_RectF &rect) |
| virtual bool | isVizibleOnScreen (double x, double y, double w, double h) |
| bool | isExiting () |
| bool | doShutDown () |
| bool | isOpacityFadding () |
| void | setFade (int speed, float target, float step) |
| void | launchStaticEffect (long effectID, float startX, float startY, int animationLoops, int delay, float velocityX, float velocityY, float gravity, int direction=0, Scene_Effect_Phys phys=Scene_Effect_Phys()) |
| launchStaticEffect Starts static effect by ID at position X,Y relative to left-top corner of effect picture More... | |
| void | launchStaticEffectC (long effectID, float startX, float startY, int animationLoops, int delay, float velocityX, float velocityY, float gravity, int direction=0, Scene_Effect_Phys phys=Scene_Effect_Phys()) |
| launchStaticEffectC Starts static effect by ID at position X,Y relative to center of effect picture More... | |
| void | processEffects (float ticks) |
| QString | errorString () |
Additional Inherited Members | |
Public Types inherited from Scene | |
| enum | TypeOfScene { _Unknown =0, Loading, Title, Level, World, Credits, GameOver } |
| typedef QList< Scene_Effect > | SceneEffectsArray |
Public Attributes inherited from Scene | |
| PGE_Fader | fader |
| SceneEffectsArray | WorkingEffects |
Protected Types inherited from Scene | |
|
typedef std::chrono::high_resolution_clock | StClock |
|
typedef std::chrono::high_resolution_clock::time_point | StTimePt |
Protected Member Functions inherited from Scene | |
| void | wait (float ms) |
Protected Attributes inherited from Scene | |
| bool | running |
| bool | _doShutDown |
| bool | doExit |
| int | uTick |
| float | uTickf |
| QString | _errorString |
1.8.7