Skip to content

StateManager

Inherits: Node

Properties

Type Name Default
int starting_state 1
CustomLogger logger

Methods

Returns Signature
void set_state(stack: Array, data: Dictionary = {})
void push_state(state: int, unique: bool = true, data: Dictionary = {})
void push_state_front(state: int, data: Dictionary = {})
int pop_state(data: Dictionary = {})
void replace_state(state: int, unique: bool = true, data: Dictionary = {})
void 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()

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

Note

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

push_state()

void 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()

void 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()

void 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()

void 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!