21 #ifndef HX3D_GRAPHICS_TRANSITION 22 #define HX3D_GRAPHICS_TRANSITION 24 #include "hx3d/graphics/batch.hpp" 25 #include "hx3d/graphics/framebuffer.hpp" 63 void setDuration(
float duration);
70 bool isRunning()
const;
77 bool isFinished()
const;
84 void update(
float delta);
100 virtual void onUpdate(
float delta);
105 virtual void onDone();
110 virtual void onStart();
float _currentTime
Current time in seconds.
bool _running
Is the transition running.
Game main class: multiple screens management.
Transition between two screens.
float _duration
Duration in seconds.
Simple base batch implementation. Draw at each draw call.
Render-to-texture buffer.
window::Game * _game
Current game.