Grail (C++)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::fsm::State Class Referenceabstract

The FiniteStateMachineState class - Class representing state of finite state machine. More...

#include <State.hh>

Inheritance diagram for grail::fsm::State:

Public Member Functions

 State (const State &other)=default
 
 State (State &&other)=default
 
Stateoperator= (const State &other)=default
 
Stateoperator= (State &&other)=default
 
virtual const std::string & GetName () const =0
 GetName. More...
 
virtual void Enter ()
 Enter - Called once after machine enters this state.
 
virtual void Update (float deltaTime)
 Update - Called every cycle the machine is in this state (including the one during which machine entered this state).
 
virtual void Exit ()
 Exit - Called once after machine exits this state.
 

Detailed Description

The FiniteStateMachineState class - Class representing state of finite state machine.

Member Function Documentation

◆ GetName()

virtual const std::string& grail::fsm::State::GetName ( ) const
pure virtual

GetName.

Returns
name associated with this state

Implemented in grail::fsm::FiniteStateMachine.


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