Begrudgingly, we are probably moving towards a message bus architecture. We probably want to allow users to define their own GameActions, and then these will be dispatched to each game object or system. Objects should then have handlers for what to do on each message, such as onLoop(), onMessage(), etc.
Begrudgingly, we are probably moving towards a message bus architecture. We probably want to allow users to define their own GameActions, and then these will be dispatched to each game object or system. Objects should then have handlers for what to do on each message, such as onLoop(), onMessage(), etc.