A UI can pause the game, open menus, etc. UI elements will be part of a user's interaction with any game, but they won't probably be part of the game world / World class.
We are likely going to need to rethink what a GameAction is, and what how to differentiate whether e.g. a MoveUp is meant for the player character or for a menu cursor. We likely want to do this in the main loop. The InputManager shouldn't know about it.
A UI can pause the game, open menus, etc. UI elements will be part of a user's interaction with any game, but they won't probably be part of the game world /
World
class.We are likely going to need to rethink what a
GameAction
is, and what how to differentiate whether e.g. aMoveUp
is meant for the player character or for a menu cursor. We likely want to do this in the main loop. TheInputManager
shouldn't know about it.