Implement cards: Armor Thrull, Dwarven Armorer, Dwarven Lieutenant, and Elven Lyre

This commit is contained in:
LoneFox 2015-10-11 11:33:59 +03:00 committed by AlumiuN
parent bc06e83ce1
commit 0d127ae2e0
10 changed files with 618 additions and 0 deletions

View file

@ -75,8 +75,10 @@ public enum CounterType {
M2M2(new BoostCounter(-2, -2).name),
MINING("mining"),
MUSTER("muster"),
P0P1(new BoostCounter(0, 1).name),
P1P0(new BoostCounter(1, 0).name),
P1P1(new BoostCounter(1, 1).name),
P1P2(new BoostCounter(1, 2).name),
P2P2(new BoostCounter(2, 2).name),
PAGE("page"),
PAIN("pain"),
@ -134,10 +136,14 @@ public enum CounterType {
*/
public Counter createInstance(int amount) {
switch (this) {
case P0P1:
return new BoostCounter(0, 1, amount);
case P1P0:
return new BoostCounter(1, 0, amount);
case P1P1:
return new BoostCounter(1, 1, amount);
case P1P2:
return new BoostCounter(1, 2, amount);
case P2P2:
return new BoostCounter(2, 2, amount);
case M1M1: