Removed 'PlayerDataMessage' and 'StartBriefingMessage'.
This commit is contained in:
		@@ -1,40 +0,0 @@
 | 
			
		||||
package pp.mdga.message.server;
 | 
			
		||||
 | 
			
		||||
import com.jme3.network.serializing.Serializable;
 | 
			
		||||
import pp.mdga.game.Color;
 | 
			
		||||
import pp.mdga.game.PlayerData;
 | 
			
		||||
 | 
			
		||||
@Serializable
 | 
			
		||||
public class PlayerDataMessage extends ServerMessage{
 | 
			
		||||
 | 
			
		||||
    private final PlayerData playerData;
 | 
			
		||||
    private final Color color;
 | 
			
		||||
 | 
			
		||||
    public PlayerDataMessage(PlayerData playerData, Color color){
 | 
			
		||||
        super();
 | 
			
		||||
        this.playerData = playerData;
 | 
			
		||||
        this.color = color;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private PlayerDataMessage(){
 | 
			
		||||
        this(null, null);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void accept(ServerInterpreter interpreter) {
 | 
			
		||||
        interpreter.received(this);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String getInfoTextKey() {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public PlayerData getPlayerData(){
 | 
			
		||||
        return playerData;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Color getColor(){
 | 
			
		||||
        return color;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,33 +0,0 @@
 | 
			
		||||
package pp.mdga.message.server;
 | 
			
		||||
 | 
			
		||||
import com.jme3.network.serializing.Serializable;
 | 
			
		||||
import pp.mdga.game.Board;
 | 
			
		||||
 | 
			
		||||
@Serializable
 | 
			
		||||
public class StartBriefingMessage extends ServerMessage {
 | 
			
		||||
 | 
			
		||||
    private final Board board;
 | 
			
		||||
 | 
			
		||||
    public StartBriefingMessage(Board board) {
 | 
			
		||||
        super();
 | 
			
		||||
        this.board = board;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private StartBriefingMessage() {
 | 
			
		||||
        this(null);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Board getBoard() {
 | 
			
		||||
        return this.board;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void accept(ServerInterpreter interpreter) {
 | 
			
		||||
        interpreter.received(this);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String getInfoTextKey() {
 | 
			
		||||
        return "";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user