Created message class and updated menu system

This commit is contained in:
2ndbeam 2024-05-19 16:09:50 +03:00
commit 7134891e55
12 changed files with 62 additions and 13 deletions

View file

@ -4,16 +4,17 @@ extends Resource
class_name Menu
enum Action {
## Represents lack of action, should not have resource in item_data
NoneAction,
## Represents when this menu should be replaced with another.
## Attach Menu next to it in item_data
## Attach MenuMenuResource next to it in item_data
TransitAction,
## Represents scripts which should be attached to button on menu startup
## Attach Script next to it in item_data
## Attach ScriptMenuResource next to it in item_data
ButtonAction,
## WIP, should represent LineEdit or some other input control
InputAction,
## WIP
OtherAction
## Represents button script with transition after its execution
## Attach ComboMenuResource next to it in item_data
ComboAction
}
## Action string IDs. Should have same size as item_actions