Arbor: State Diagram Editor  2.2.0
Calculator Class Reference

Class that defines the behavior of the State. More...

Inheritance diagram for Calculator:

Public Member Functions

virtual bool OnCheckDirty ()
 It is called when judging whether it has been changed. More...
 
void SetDirty ()
 Call if you want call OnCalculate. More...
 
void Calculate ()
 It is calculated, if necessary. More...
 
virtual void OnCalculate ()
 It called when it is calculated . More...
 

Protected Member Functions

virtual void Awake ()
 
virtual void OnDestroy ()
 
virtual void OnValidate ()
 

Properties

ArborFSMInternal stateMachine [get]
 Gets the state machine. More...
 
CalculatorNode calculatorNode [get]
 Get the State. More...
 
int calculatorID [get]
 Gets the state identifier. More...
 
bool isDirty [get]
 

Detailed Description

Class that defines the behavior of the State.

Inherited and to use.

Member Function Documentation

virtual void Awake ( )
protectedvirtual
void Calculate ( )

It is calculated, if necessary.

virtual void OnCalculate ( )
virtual

It called when it is calculated .

virtual bool OnCheckDirty ( )
virtual

It is called when judging whether it has been changed.

Returns
Returns true if it has been changed, false otherwise.
virtual void OnDestroy ( )
protectedvirtual
virtual void OnValidate ( )
protectedvirtual
void SetDirty ( )

Call if you want call OnCalculate.

Property Documentation

int calculatorID
get

Gets the state identifier.

CalculatorNode calculatorNode
get

Get the State.

bool isDirty
get
ArborFSMInternal stateMachine
get

Gets the state machine.