This commit is contained in:
wagic.the.homebrew
2008-11-02 09:50:16 +00:00
commit d45e3b101b
726 changed files with 179125 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include "MTGCardInstance.h"
//---------------------------------------------
//Card Instance
//--------------------------------------------
MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * _belongs_to): model(card){
belongs_to = _belongs_to;
}
int MTGCardInstance::isInPlay(){
return belongs_to->isInPlay(this);
}
JQuad * MTGCardInstance::getQuad(TexturesCache * cache){
return model->getQuad(cache);
}