forked from External/mage
New ConditionalMana support.
This commit is contained in:
parent
67a6c9dcf5
commit
ed3f96c668
58 changed files with 612 additions and 145 deletions
|
|
@ -29,6 +29,9 @@
|
|||
package mage.view;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.concurrent.locks.Condition;
|
||||
|
||||
import mage.ConditionalMana;
|
||||
import mage.players.ManaPool;
|
||||
|
||||
/**
|
||||
|
|
@ -52,7 +55,14 @@ public class ManaPoolView implements Serializable {
|
|||
this.white = pool.getWhite();
|
||||
this.black = pool.getBlack();
|
||||
this.colorless = pool.getColorless();
|
||||
|
||||
for (ConditionalMana mana : pool.getConditionalMana()) {
|
||||
this.red = mana.getRed();
|
||||
this.green = mana.getGreen();
|
||||
this.blue = mana.getBlue();
|
||||
this.white = mana.getWhite();
|
||||
this.black = mana.getBlack();
|
||||
this.colorless = mana.getColorless();
|
||||
}
|
||||
}
|
||||
|
||||
public int getRed() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue