@Override public void addPlayer(PlayerType player, String playerName) { String playerLog = MessageFormat.format( LOG_PLAYER_ENTRY, format.format(new Date()), player.toString(), playerName); writer.println(playerLog); }
@Override public void addMove(PlayerType player, Object playerMove) { String playerLog = MessageFormat.format( LOG_MOVE_ENTRY, format.format(new Date()), player.toString(), playerMove.toString()); writer.println(playerLog); }