reformatting code according to guidelines defined at

http://wololo.net/forum/viewtopic.php?f=35&t=2235&start=10
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-16 00:55:16 +00:00
parent c79fdcbf50
commit acd7bb1aa4
103 changed files with 38044 additions and 31222 deletions

View File

@@ -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);
}