2024-03-16 19:45:43 +02:00
|
|
|
# State
|
2024-03-17 00:05:55 +02:00
|
|
|
**Inherits:** [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html)
|
2024-03-16 19:45:43 +02:00
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
## Description
|
2024-03-16 19:45:43 +02:00
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
Base Class for all states
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
| Name | Type | Default |
|
|
|
|
| ------------------------------------ | -------------------------------------------- | ------- |
|
|
|
|
| [state_machine](#prop-state-machine) | [StateMachine](/reference/StateMachine.html) | |
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
| Returns | Name |
|
|
|
|
| ------------------------------------------------------------------------- | ---------------------------- |
|
|
|
|
| void | [_on_enter](#-on-enter) ( ) |
|
|
|
|
| void | [_on_leave](#-on-leave) ( ) |
|
|
|
|
| [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | [is_active](#is-active) ( ) |
|
|
|
|
|
2024-03-17 00:05:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
|
|
|
|
|
2024-03-16 19:45:43 +02:00
|
|
|
## Property Descriptions
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
### state_machine: [StateMachine](/reference/StateMachine.html) {#prop-state-machine}
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
No description provided yet.
|
|
|
|
|
|
|
|
## Method Descriptions
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
### _on_enter ( ) -> void {#-on-enter}
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
No description provided yet.
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
### _on_leave ( ) -> void {#-on-leave}
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
No description provided yet.
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
### is_active ( ) -> [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#is-active}
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
No description provided yet.
|