using 3D positions for GUI elements

This commit is contained in:
devZoGok
2024-05-18 11:47:56 +03:00
parent b4891fd890
commit 2dcc1973ae
86 changed files with 238 additions and 250 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ namespace battleship{
using namespace vb01;
using namespace gameBase;
TrainButton::TrainButton(Vector2 pos, Vector2 size, string name, int trigger, string imagePath, int uid, int slId) :
TrainButton::TrainButton(Vector3 pos, Vector2 size, string name, int trigger, string imagePath, int uid, int slId) :
UnitButton(pos, size, name, GameManager::getSingleton()->getPath() + "Fonts/batang.ttf", trigger, imagePath, uid),
slotId(slId) {}