-Adding "becomes(types,p/t,color abilities)" to the parser. Please do not use yet as it requires more testing
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-30 12:28:50 +00:00
parent c5e51826ec
commit 78da055dd2
8 changed files with 220 additions and 25 deletions

View File

@@ -146,6 +146,10 @@ void MTGCard::setColor(int _color, int removeAllOthers){
colors[_color] = 1;
}
void MTGCard::removeColor(int _color){
colors[_color] = 0;
}
int MTGCard::getColor(){
for (int i=0; i<Constants::MTG_NB_COLORS; i++){
if (colors[i]){