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

Class representing state of finite state machine. More...

Inheritance diagram for Grail.FSM.IState:

Public Member Functions

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

Properties

string Name [get]
 Name of this state. More...
 

Detailed Description

Class representing state of finite state machine.

Member Function Documentation

◆ Enter()

void Grail.FSM.IState.Enter ( )

Called once after machine enters this state.

Implemented in Grail.FSM.FiniteStateMachine, and Grail.FSM.DefaultState.

◆ Exit()

void Grail.FSM.IState.Exit ( )

Called once after machine exits this state.

Implemented in Grail.FSM.DefaultState.

◆ Update()

void Grail.FSM.IState.Update ( float  deltaTime)

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

Implemented in Grail.FSM.FiniteStateMachine, and Grail.FSM.DefaultState.

Property Documentation

◆ Name

string Grail.FSM.IState.Name
get

Name of this state.


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