3#include <Core/Utils/Blackboard.h>
4#include <GameEngine/StateMachine/StateMachineResource.h>
27 void SetResourceFile(
const char* szFile);
28 const char* GetResourceFile()
const;
32 void SetInitialState(
const char* szName);
33 const char* GetInitialState()
const {
return m_sInitialState; }
40 bool m_bKeepCurrentStateOnExit =
false;
82 using StorageType = plUInt8;
This class is optimized to take nearly no memory (sizeof(void*)) and to allow very fast checks whethe...
Definition HashedString.h:25
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition SmallArray.h:219
The state machine instance represents the actual state machine. Typically it is created from a descri...
Definition StateMachine.h:144
A state machine state implementation that combines multiple sub states into one.
Definition StateMachineBuiltins.h:55
A state machine state implementation that represents another state machine nested within this state....
Definition StateMachineBuiltins.h:8
Base class for a state in a state machine.
Definition StateMachine.h:20
virtual bool GetInstanceDataDesc(plInstanceDataDesc &out_desc)
Returns whether this state needs additional instance data and if so fills the out_desc.
Definition StateMachine.cpp:71
A state machine transition implementation that checks the instance's blackboard for the given conditi...
Definition StateMachineBuiltins.h:99
A state machine transition implementation that combines multiple sub transition into one.
Definition StateMachineBuiltins.h:141
A state machine transition implementation that triggers after the given time.
Definition StateMachineBuiltins.h:119
A state machine transition implementation that triggers when a 'transition event' is sent.
Definition StateMachineBuiltins.h:166
Base class for a transition in a state machine. The target state of a transition is automatically set...
Definition StateMachine.h:81
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
A Unique ptr manages an object and destroys that object when it goes out of scope....
Definition UniquePtr.h:10
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
Structure to describe an instance data type.
Definition InstanceDataAllocator.h:17
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Helper class to manage instance data for compound states or transitions.
Definition StateMachineInstanceData.h:13
An enum that represents the operator of a comparison.
Definition StateMachineBuiltins.h:81
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12