Created message class and updated menu system
This commit is contained in:
parent
6963cab2af
commit
7134891e55
12 changed files with 62 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue