SlappedWithSilence / TXEnginePy

A Python port of the original TXEngine project
3 stars 0 forks source link

Fix CombatEngine flow to allow for ChoiceActivator handler to spawn new FiniteStateDevices and wait for them to fully resolve #45

Closed SlappedWithSilence closed 8 months ago

SlappedWithSilence commented 1 year ago

At present, there's no way to directly communicate between state devices. As such, the ChoiceActivatorcannot directly call the make_choice functions for CombatEntities--they may spawn new StateDevices, and those state devices won't have the timing freedom to finish execution before CombatEnginedemands a choice.