package app.json;

import java.util.List;

/**
 * Created by jpringle on 12/4/16.
 */
public class GameModelPayload {
    //TODO GameModel status
    //TODO wasMoved
    private BoardPayload board;
    private List<PlayerPayload> players;
    private MurderPayload murder;
    private List<String> turnOrder;
    private TurnPayload turn;
    private List<String> history;

    public BoardPayload getBoard() {
        return board;
    }

    public void setBoard(BoardPayload board) {
        this.board = board;
    }

    public List<PlayerPayload> getPlayers() {
        return players;
    }

    public void setPlayers(List<PlayerPayload> players) {
        this.players = players;
    }

    public TurnPayload getTurn() {
        return turn;
    }

    public void setTurn(TurnPayload turn) {
        this.turn = turn;
    }

    public MurderPayload getMurder() {
        return murder;
    }

    public void setMurder(MurderPayload murder) {
        this.murder = murder;
    }

    public List<String> getTurnOrder() {
        return turnOrder;
    }

    public void setTurnOrder(List<String> turnOrder) {
        this.turnOrder = turnOrder;
    }

    public List<String> getHistory() {
        return history;
    }

    public void setHistory(List<String> history) {
        this.history = history;
    }
}

@@ -23,22 +23,112 @@
 ort 
-java.util.List
+app.game.model.GameModel;%0Aimport app.game.model.GameStatus;%0A%0Aimport java.util.List;%0Aimport java.util.Map
 ;%0A%0A/
@@ -205,55 +205,39 @@
 d %7B%0A
+%0A
     
-//TODO GameModel status%0A    //TODO wasMoved
+private GameStatus status;
 %0A   
@@ -372,24 +372,24 @@
  turnOrder;%0A
-
     private 
@@ -402,24 +402,67 @@
 yload turn;%0A
+    private Map%3CString, Boolean%3E wasMoved;%0A
     private 
@@ -1432,11 +1432,343 @@
 y;%0A    %7D
+%0A%0A    public GameStatus getStatus() %7B%0A        return status;%0A    %7D%0A%0A    public void setStatus(GameStatus status) %7B%0A        this.status = status;%0A    %7D%0A%0A    public Map%3CString, Boolean%3E getWasMoved() %7B%0A        return wasMoved;%0A    %7D%0A%0A    public void setWasMoved(Map%3CString, Boolean%3E wasMoved) %7B%0A        this.wasMoved = wasMoved;%0A    %7D
 %0A%7D%0A

add some to game model payload