removed all inheritance of the automaton for testing purposes
This commit is contained in:
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.TurnState;
|
import pp.mdga.server.automaton.game.TurnState;
|
||||||
|
|
||||||
public class ChoosePieceState extends TurnState {
|
public class ChoosePieceState {
|
||||||
public ChoosePieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.TurnState;
|
import pp.mdga.server.automaton.game.TurnState;
|
||||||
|
|
||||||
public class MovePieceState extends TurnState {
|
public class MovePieceState {
|
||||||
public MovePieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.TurnState;
|
import pp.mdga.server.automaton.game.TurnState;
|
||||||
|
|
||||||
public class PowerCardState extends TurnState {
|
public class PowerCardState {
|
||||||
public PowerCardState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.TurnState;
|
import pp.mdga.server.automaton.game.TurnState;
|
||||||
|
|
||||||
public class RollDiceState extends TurnState {
|
public class RollDiceState {
|
||||||
public RollDiceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
||||||
|
|
||||||
public class NoPieceState extends ChoosePieceState {
|
public class NoPieceState {
|
||||||
public NoPieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
||||||
|
|
||||||
public class NoTurnState extends ChoosePieceState {
|
public class NoTurnState {
|
||||||
public NoTurnState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
||||||
|
|
||||||
public class SelectPieceState extends ChoosePieceState {
|
public class SelectPieceState {
|
||||||
public SelectPieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
||||||
|
|
||||||
public class StartPieceState extends ChoosePieceState {
|
public class StartPieceState {
|
||||||
public StartPieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
import pp.mdga.server.automaton.game.turn.ChoosePieceState;
|
||||||
|
|
||||||
public class WaitingPieceState extends ChoosePieceState {
|
public class WaitingPieceState {
|
||||||
public WaitingPieceState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
||||||
|
|
||||||
public class FirstRollStateState extends RollDiceState {
|
public class FirstRollStateState {
|
||||||
public FirstRollStateState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
||||||
|
|
||||||
public class SecondRollState extends RollDiceState {
|
public class SecondRollState {
|
||||||
public SecondRollState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,5 @@
|
|||||||
import pp.mdga.server.ServerGameLogic;
|
import pp.mdga.server.ServerGameLogic;
|
||||||
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
import pp.mdga.server.automaton.game.turn.RollDiceState;
|
||||||
|
|
||||||
public class ThirdRollState extends RollDiceState {
|
public class ThirdRollState {
|
||||||
public ThirdRollState(ServerGameLogic logic) {
|
|
||||||
super(logic);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user