diff --git a/projects/mtg/include/GuiHand.h b/projects/mtg/include/GuiHand.h index 0d11d2bb9..421fdf56e 100644 --- a/projects/mtg/include/GuiHand.h +++ b/projects/mtg/include/GuiHand.h @@ -22,12 +22,12 @@ struct HandLimitor : public Limitor class GuiHand : public GuiLayer { public: - static const float ClosedRowX = 459; - static const float LeftRowX = 420; - static const float RightRowX = 460; + static const float ClosedRowX; + static const float LeftRowX; + static const float RightRowX; - static const float OpenX = 394; - static const float ClosedX = 494; + static const float OpenX; + static const float ClosedX; protected: const MTGHand* hand; diff --git a/projects/mtg/src/GuiHand.cpp b/projects/mtg/src/GuiHand.cpp index 498be8243..104e46dec 100644 --- a/projects/mtg/src/GuiHand.cpp +++ b/projects/mtg/src/GuiHand.cpp @@ -2,6 +2,14 @@ #include "../include/GameApp.h" #include "../include/GuiHand.h" +const float GuiHand::ClosedRowX = 459; +const float GuiHand::LeftRowX = 420; +const float GuiHand::RightRowX = 460; + +const float GuiHand::OpenX = 394; +const float GuiHand::ClosedX = 494; + + bool HandLimitor::select(Target* t) { vector::iterator it;