Introduced all types of Actions for clarity

This commit is contained in:
marcin.sciesinski
2019-10-01 18:02:47 -07:00
parent 7c2570fc23
commit 036ab0703b
4 changed files with 36 additions and 36 deletions

View File

@@ -32,7 +32,7 @@ public class PlayerReconcilesAction implements Action {
@Override @Override
public Type getType() { public Type getType() {
return Type.OTHER; return Type.RECONCILE;
} }
@Override @Override

View File

@@ -26,7 +26,7 @@ public class ResolveSkirmishDamageAction extends RequiredTriggerAction {
@Override @Override
public Type getType() { public Type getType() {
return Type.OTHER; return Type.RESOLVE_DAMAGE;
} }
@Override @Override

View File

@@ -41,6 +41,6 @@ public class TransferPermanentAction extends ActivateCardAction {
@Override @Override
public Type getType() { public Type getType() {
return Type.OTHER; return Type.TRANSFER;
} }
} }

View File

@@ -6,7 +6,7 @@ import com.gempukku.lotro.game.state.LotroGame;
public interface Action { public interface Action {
public enum Type { public enum Type {
PLAY_CARD, SPECIAL_ABILITY, TRIGGER, OTHER PLAY_CARD, SPECIAL_ABILITY, TRIGGER, TRANSFER, RECONCILE, RESOLVE_DAMAGE, OTHER
} }
public Type getType(); public Type getType();