forked from External/mage
[refactoring][minor] Replaced all tabs with four spaces.
This commit is contained in:
parent
e646e4768d
commit
239a4fb100
2891 changed files with 79411 additions and 79411 deletions
|
|
@ -40,52 +40,52 @@ import java.io.Serializable;
|
|||
public class ManaPoolView implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private int red;
|
||||
private int green;
|
||||
private int blue;
|
||||
private int white;
|
||||
private int black;
|
||||
private int colorless;
|
||||
private int red;
|
||||
private int green;
|
||||
private int blue;
|
||||
private int white;
|
||||
private int black;
|
||||
private int colorless;
|
||||
|
||||
public ManaPoolView(ManaPool pool) {
|
||||
this.red = pool.getRed();
|
||||
this.green = pool.getGreen();
|
||||
this.blue = pool.getBlue();
|
||||
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() {
|
||||
return red;
|
||||
}
|
||||
public ManaPoolView(ManaPool pool) {
|
||||
this.red = pool.getRed();
|
||||
this.green = pool.getGreen();
|
||||
this.blue = pool.getBlue();
|
||||
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 getGreen() {
|
||||
return green;
|
||||
}
|
||||
public int getRed() {
|
||||
return red;
|
||||
}
|
||||
|
||||
public int getBlue() {
|
||||
return blue;
|
||||
}
|
||||
public int getGreen() {
|
||||
return green;
|
||||
}
|
||||
|
||||
public int getWhite() {
|
||||
return white;
|
||||
}
|
||||
public int getBlue() {
|
||||
return blue;
|
||||
}
|
||||
|
||||
public int getBlack() {
|
||||
return black;
|
||||
}
|
||||
public int getWhite() {
|
||||
return white;
|
||||
}
|
||||
|
||||
public int getColorless() {
|
||||
return colorless;
|
||||
}
|
||||
public int getBlack() {
|
||||
return black;
|
||||
}
|
||||
|
||||
public int getColorless() {
|
||||
return colorless;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue