immersive-home/docs/reference/StateMachine.md

2.5 KiB

StateMachine

Inherits: Node

Properties

Name Type Default
current_state Node
states Dictionary

Methods

Returns Name
void _ready ( )
void change_to ( new_state: String )
Node get_state ( state_name: String )

Signals

changed (state_name: String , old_state: String )

No description provided yet.

Property Descriptions

current_state: Node

No description provided yet.

states: Dictionary

No description provided yet.

Method Descriptions

_ready ( ) -> void

No description provided yet.

change_to (new_state: String ) -> void

No description provided yet.

get_state (state_name: String ) -> Node

No description provided yet.