Rebel Fork Framework
Urho3D::Actions::ActionInstantState Class Reference

Finite time action state. More...

#include <Urho3D/Actions/ActionInstantState.h>

Inheritance diagram for Urho3D::Actions::ActionInstantState:
Urho3D::Actions::FiniteTimeActionState Urho3D::Actions::ActionState Urho3D::RefCounted

Public Member Functions

 ActionInstantState (ActionInstant *action, Object *target)
 Construct.
 
 ~ActionInstantState () override
 Destruct.
 
bool IsDone () const override
 Gets a value indicating whether this instance is done.
 
void Step (float dt) override
 Called every frame with it's delta time.
 
- Public Member Functions inherited from Urho3D::Actions::FiniteTimeActionState
 FiniteTimeActionState (FiniteTimeAction *action, Object *target)
 Construct.
 
 ~FiniteTimeActionState () override
 Destruct.
 
bool IsDone () const override
 Gets a value indicating whether this instance is done.
 
void Step (float dt) override
 Called every frame with it's delta time.
 
float GetDuration () const
 Get action duration.
 
float GetElapsed () const
 Get action elapsed time.
 
- Public Member Functions inherited from Urho3D::Actions::ActionState
virtual void Update (float time)
 
ObjectGetTarget () const
 
ObjectGetOriginalTarget () const
 Gets the original target.
 
BaseActionGetAction () const
 Gets the action.
 
virtual void Stop ()
 
- Public Member Functions inherited from Urho3D::RefCounted
 RefCounted ()
 Construct. Allocate the reference count structure and set an initial self weak reference.
 
virtual ~RefCounted ()
 Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist.
 
 RefCounted (const RefCounted &rhs)=delete
 Prevent copy construction.
 
RefCountedoperator= (const RefCounted &rhs)=delete
 Prevent assignment.
 
int AddRef ()
 
int ReleaseRef ()
 
int Refs () const
 
int WeakRefs () const
 
RefCountRefCountPtr () const
 Return pointer to the reference count structure.
 
bool HasScriptObject () const
 Return true if script runtime object wrapping this native object exists.
 
bool IsScriptStrongRef () const
 Return true if script reference is strong.
 

Additional Inherited Members

- Protected Member Functions inherited from Urho3D::Actions::FiniteTimeActionState
SharedPtr< FiniteTimeActionStateStartAction (FiniteTimeAction *action, Object *target) const
 Call StartAction on an action.
 
- Protected Member Functions inherited from Urho3D::Actions::ActionState
 ActionState (BaseAction *action, Object *target)
 
SharedPtr< ActionStateStartAction (BaseAction *action, Object *target) const
 Call StartAction on an action.
 

Detailed Description

Finite time action state.


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