Added label, text, and quantity descriptions for all items on the inventory menu.

This commit is contained in:
2023-10-07 19:06:56 -05:00
parent 803a0189d8
commit 461265a8a4
11 changed files with 73 additions and 26 deletions
+2
View File
@@ -111,12 +111,14 @@ void Menu::Update(Crawler*game){
if(!MOUSE_NAVIGATION){
if(game->GetKey(ENTER).bReleased||game->GetKey(SPACE).bReleased){
if(selectedComponent->DropDraggableItem(draggingComponent)){
delete draggingComponent; //We know we allocated a new instance of this, so we will now free it.
draggingComponent=nullptr;
}
}
}else{
if(game->GetMouse(Mouse::LEFT).bReleased){
if(selectedComponent->DropDraggableItem(draggingComponent)){
delete draggingComponent; //We know we allocated a new instance of this, so we will now free it.
draggingComponent=nullptr;
}
}