mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Refactor: Delete commented out code blocks in GameImpl.java (#9108)
Co-authored-by: DeepCrimson <deepcrimson@users.noreplyl.github.com>
This commit is contained in:
parent
5c1fe5075f
commit
ae88cc2f66
1 changed files with 0 additions and 28 deletions
|
@ -724,10 +724,6 @@ public abstract class GameImpl implements Game {
|
|||
return Optional.empty();
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public Zone getZone(UUID objectId) {
|
||||
// return state.getZone(objectId);
|
||||
// }
|
||||
@Override
|
||||
public void setZone(UUID objectId, Zone zone) {
|
||||
state.setZone(objectId, zone);
|
||||
|
@ -752,30 +748,6 @@ public abstract class GameImpl implements Game {
|
|||
}
|
||||
}
|
||||
|
||||
// /**
|
||||
// * Starts check if game is over or if playerId is given let the player
|
||||
// * concede.
|
||||
// *
|
||||
// * @param playerId
|
||||
// * @return
|
||||
// */
|
||||
// @Override
|
||||
// public synchronized boolean gameOver(UUID playerId) {
|
||||
// if (playerId == null) {
|
||||
// boolean result = checkIfGameIsOver();
|
||||
// return result;
|
||||
// } else {
|
||||
// logger.debug("Game over for player Id: " + playerId + " gameId " + getId());
|
||||
// concedingPlayers.add(playerId);
|
||||
// Player player = getPlayer(state.getPriorityPlayerId());
|
||||
// if (player != null && player.isHuman()) {
|
||||
// player.signalPlayerConcede();
|
||||
// } else {
|
||||
// checkConcede();
|
||||
// }
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
@Override
|
||||
public void setConcedingPlayer(UUID playerId) {
|
||||
Player player = null;
|
||||
|
|
Loading…
Reference in a new issue