ningalu / turn-based-combat

0 stars 0 forks source link

Events can't return multiple Actions #7

Closed ningalu closed 1 month ago

ningalu commented 1 month ago

It is plausible that an EventHandler must return multiple Actions to ensure correct scheduling order or to model their domain correctly. EventHandlers should have the option to return multiple Actions. The Action/s that need to be provided are also a function of the state of the Battle, but event handlers are not given access to the current Battle state