reformatting code according to guidelines defined at
http://wololo.net/forum/viewtopic.php?f=35&t=2235&start=10
This commit is contained in:
@@ -3,15 +3,18 @@
|
||||
//---------------------------------------------
|
||||
//Card Instance
|
||||
//--------------------------------------------
|
||||
MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * _belongs_to): model(card){
|
||||
belongs_to = _belongs_to;
|
||||
MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * _belongs_to) :
|
||||
model(card)
|
||||
{
|
||||
belongs_to = _belongs_to;
|
||||
}
|
||||
|
||||
int MTGCardInstance::isInPlay(){
|
||||
return belongs_to->isInPlay(this);
|
||||
int MTGCardInstance::isInPlay()
|
||||
{
|
||||
return belongs_to->isInPlay(this);
|
||||
}
|
||||
|
||||
|
||||
JQuad * MTGCardInstance::getQuad(TexturesCache * cache){
|
||||
return model->getQuad(cache);
|
||||
JQuad * MTGCardInstance::getQuad(TexturesCache * cache)
|
||||
{
|
||||
return model->getQuad(cache);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user