41 if (
active ==
false)
return false;
43 timePassed =
timeLast == -1LL?0.0f:
static_cast<float>(Engine::getInstance()->getTiming()->getCurrentFrameAtTime() -
timeLast) / 1000.0f;
45 timeLast = Engine::getInstance()->getTiming()->getCurrentFrameAtTime();
GUIEffectState originalEndState
virtual void start()
Start this effect.
virtual void stop()
Stop this effect.
GUIEffectState originalStartState
virtual bool update(GUIRenderer *guiRenderer)
Updates the effect to GUI renderer and updates time.
virtual ~GUIEffect()
Destructor.
GUIEffectState startState
GUIEffectState * getEffectState()