immersive-home/docs/reference/StateMachine.md
2024-03-16 18:45:43 +01:00

43 lines
2.2 KiB
Markdown

# StateMachine
## Properties
| Name | Type | Default |
| ------------------------------- | ------------------------------------------------------------------------------- | ------- |
| [current_state](#current-state) | [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) | |
| [states](#states) | [Dictionary](https://docs.godotengine.org/de/4.x/classes/class_dictionary.html) | |
## Methods
| Returns | Name |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| void | [_ready](#-ready) ( ) |
| void | [change_to](#change-to) ( new_state: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) |
| [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) | [get_state](#get-state) ( state_name: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) |
## Property Descriptions
### current_state: [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) {#current-state}
No description provided yet.
### states: [Dictionary](https://docs.godotengine.org/de/4.x/classes/class_dictionary.html) {#states}
No description provided yet.
## Method Descriptions
### _ready ( ) -> void {#-ready}
No description provided yet.
### change_to ( new_state: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) -> void {#change-to}
No description provided yet.
### get_state ( state_name: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) -> [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) {#get-state}
No description provided yet.