forked from External/mage
* M15 - Added 11 blue cards.
This commit is contained in:
parent
0120808ef8
commit
08d0a3662c
19 changed files with 1219 additions and 25 deletions
|
|
@ -240,18 +240,24 @@ public class ObjectColor implements Serializable, Copyable<ObjectColor>, Compara
|
|||
}
|
||||
|
||||
public boolean contains(ObjectColor color) {
|
||||
if (this == color)
|
||||
if (this == color) {
|
||||
return true;
|
||||
if (color.white & this.white)
|
||||
}
|
||||
if (color.white & this.white) {
|
||||
return true;
|
||||
if (color.blue & this.blue)
|
||||
}
|
||||
if (color.blue & this.blue) {
|
||||
return true;
|
||||
if (color.black & this.black)
|
||||
}
|
||||
if (color.black & this.black) {
|
||||
return true;
|
||||
if (color.red & this.red)
|
||||
}
|
||||
if (color.red & this.red) {
|
||||
return true;
|
||||
if (color.green & this.green)
|
||||
}
|
||||
if (color.green & this.green) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue