Grail (C#)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.FSM.DefaultState Class Reference

Default implementation of IState interface. All IState method implementations are empty. More...

Inheritance diagram for Grail.FSM.DefaultState:
Collaboration diagram for Grail.FSM.DefaultState:

Public Member Functions

virtual void Enter ()
 Called once after machine enters this state. More...
 
virtual void Update (float deltaTime)
 Called every cycle the machine is in this state (including the one during which machine entered this state). More...
 
virtual void Exit ()
 Called once after machine exits this state. More...
 

Protected Member Functions

 DefaultState (string stateName)
 

Properties

string Name [get]
 Name of this state. More...
 
- Properties inherited from Grail.FSM.IState
string Name [get]
 Name of this state. More...
 

Detailed Description

Default implementation of IState interface. All IState method implementations are empty.

Member Function Documentation

◆ Enter()

virtual void Grail.FSM.DefaultState.Enter ( )
inlinevirtual

Called once after machine enters this state.

Implements Grail.FSM.IState.

Reimplemented in Grail.FSM.FiniteStateMachine.

◆ Exit()

virtual void Grail.FSM.DefaultState.Exit ( )
inlinevirtual

Called once after machine exits this state.

Implements Grail.FSM.IState.

◆ Update()

virtual void Grail.FSM.DefaultState.Update ( float  deltaTime)
inlinevirtual

Called every cycle the machine is in this state (including the one during which machine entered this state).

Implements Grail.FSM.IState.

Reimplemented in Grail.FSM.FiniteStateMachine.

Property Documentation

◆ Name

string Grail.FSM.DefaultState.Name
get

Name of this state.


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