Editor icon indicating copy to clipboard operation
Editor copied to clipboard

Design API for "complex" event commands

Open Ghabry opened this issue 4 years ago • 1 comments

From an editor point of view there are two types of event commands:

Basic event commands: The event only operates on there data (Currently the API only supports this)

There are two types of complex commands:

E.g. Message Command & Comment

  • The commands following the main command are lines belonging to it

E.g. Branches

  • They can add/delete if/else branches directly after the command

Ghabry avatar Jan 25 '21 14:01 Ghabry

Main problem here is that the widget that shows the EventCommands is very fragile. It takes pointers to event commands for each item in the tree. So a complex manipulation will have many dangling pointers and crash sooner or later. So before solving this the Event command widget must be refactored.

Ghabry avatar Jan 25 '21 17:01 Ghabry