package com.zapflame.core;

public abstract class Action {
  public static final Action endTurn = new EndTurn(null, null);
  public static final Action endMove = new EndMove(null, null);

  Unit unit;
  Cell target;

  public Action(Unit unit, Cell target) {
	  this.unit = unit;
	  this.target = target;
  }
}

class EndTurn extends Action {
	public EndTurn(Unit unit, Cell target) {
		super(unit, target);
	}
}

class EndMove extends Action {
	public EndMove(Unit unit, Cell target) {
		super(unit, target);
	}
}
@@ -410,105 +410,4 @@
 %7D%0A%7D%0A
-%0Aclass EndMove extends Action %7B%0A%09public EndMove(Unit unit, Cell target) %7B%0A%09%09super(unit, target);%0A%09%7D%0A%7D

remove EndMove