XII Release 0.1.0
Loading...
Searching...
No Matches
xiiStateMachineTransition Class Referenceabstract

#include <StateMachine.h>

Inheritance diagram for xiiStateMachineTransition:
[legend]

Private Member Functions

virtual bool GetInstanceDataDesc (xiiInstanceDataDesc &out_desc)

Additional Inherited Members

Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Detailed Description

Base class for a transition in a state machine. The target state of a transition is automatically set once its condition has been met.

Same as with states, transitions are also shared between multiple instances and thus should decide their condition based on the passed instance and instance data.

See also
xiiStateMachineInstanceDataDesc

Member Function Documentation

◆ GetInstanceDataDesc()

bool xiiStateMachineTransition::GetInstanceDataDesc ( xiiInstanceDataDesc & out_desc)
privatevirtual

Returns whether this transition needs additional instance data and if so fills the out_desc.

See also
xiiStateMachineInstanceDataDesc

Reimplemented in xiiStateMachineTransition_Compound.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GameEngine/Components/StateMachine/StateMachine.h
  • /home/runner/work/XII/XII/Source/Engine/GameEngine/Components/StateMachine/Implementation/StateMachine.cpp