This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user