BoolClub / ProjectCrusade

First project of RHS Software Development Club
0 stars 0 forks source link

Inventory screen #4

Closed christiancosgrove closed 8 years ago

christiancosgrove commented 8 years ago

We have to migrate the inventory to a new screen. As a GameScreen laying on top of the MainGameScreen, the main game will be paused when the inventory is fully open. However, we should add a special draw method to the inventory class that allows us to just render the main row. Each item on the main row will be indexed by a number key and will therefore be easily accessible in game.

Authman2 commented 8 years ago

Ok, so we can start writing a new GameScreen for the inventory and that is what will be displayed when toggle is true. When toggle is false, then we can just draw that one row with indexed numbers. That way we can use the numbers on the keyboard to quick select something.