Skip to content

StateManager

Inherits: Node

Properties

Type Name Default
int starting_state 1
CustomLogger logger

Methods

Returns Signature
Variant set_state(stack: Array, data: Dictionary = {})
Variant push_state(state: int, unique: bool = true, data: Dictionary = {})
Variant push_state_front(state: int, data: Dictionary = {})
int pop_state(data: Dictionary = {})
Variant replace_state(state: int, unique: bool = true, data: Dictionary = {})
Variant remove_state(state: int, data: Dictionary = {})
int current_state()
int stack_length()
bool has_state(state: int)

Property Descriptions

starting_state

int starting_state = 1

Note

There is currently no description for this property. Please help us by contributing one!

logger

CustomLogger logger

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

set_state()

Variant set_state(stack: Array, data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

push_state()

Variant push_state(state: int, unique: bool = true, data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

push_state_front()

Variant push_state_front(state: int, data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

pop_state()

int pop_state(data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

replace_state()

Variant replace_state(state: int, unique: bool = true, data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

remove_state()

Variant remove_state(state: int, data: Dictionary = {})

Note

There is currently no description for this method. Please help us by contributing one!

current_state()

int current_state()

Note

There is currently no description for this method. Please help us by contributing one!

stack_length()

int stack_length()

Note

There is currently no description for this method. Please help us by contributing one!

has_state()

bool has_state(state: int)

Note

There is currently no description for this method. Please help us by contributing one!