jsgoller1 / sprawl

2D Game Engine
GNU General Public License v3.0
0 stars 0 forks source link

Implement UI system #41

Open jsgoller1 opened 1 year ago

jsgoller1 commented 1 year ago

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.