J :
* Define const values in the cpp file.
This commit is contained in:
@@ -22,12 +22,12 @@ struct HandLimitor : public Limitor
|
|||||||
class GuiHand : public GuiLayer
|
class GuiHand : public GuiLayer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const float ClosedRowX = 459;
|
static const float ClosedRowX;
|
||||||
static const float LeftRowX = 420;
|
static const float LeftRowX;
|
||||||
static const float RightRowX = 460;
|
static const float RightRowX;
|
||||||
|
|
||||||
static const float OpenX = 394;
|
static const float OpenX;
|
||||||
static const float ClosedX = 494;
|
static const float ClosedX;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const MTGHand* hand;
|
const MTGHand* hand;
|
||||||
|
|||||||
@@ -2,6 +2,14 @@
|
|||||||
#include "../include/GameApp.h"
|
#include "../include/GameApp.h"
|
||||||
#include "../include/GuiHand.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)
|
bool HandLimitor::select(Target* t)
|
||||||
{
|
{
|
||||||
vector<CardView*>::iterator it;
|
vector<CardView*>::iterator it;
|
||||||
|
|||||||
Reference in New Issue
Block a user