Add and setup Blacksmith Crafting Window

This commit is contained in:
2023-12-27 17:00:52 -06:00
parent 38bedb653d
commit 20f30b0f30
17 changed files with 133 additions and 14 deletions
+4
View File
@@ -96,6 +96,10 @@ void State_OverworldMap::OnUserUpdate(Crawler*game){
Menu::OpenMenu(MERCHANT);
}
if(game->GetKey(B).bPressed){
Menu::OpenMenu(BLACKSMITH);
}
#pragma region Handle Connection Point Clicking and Movement
for(ConnectionPoint&cp:connections){
if(game->GetMouse(Mouse::LEFT).bPressed&&geom2d::overlaps(game->GetWorldMousePos(),cp.rect)){