Added missing changes of renaming quitted to quit.

This commit is contained in:
LevelX2 2013-07-16 10:16:35 +02:00
parent 489a727f5c
commit 001f8ec1e6

View file

@ -145,8 +145,8 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
// conceded or connection lost game // conceded or connection lost game
protected boolean left; protected boolean left;
// quitted match // quit match
protected boolean quitted; protected boolean quit;
protected RangeOfInfluence range; protected RangeOfInfluence range;
protected Set<UUID> inRange = new HashSet<UUID>(); protected Set<UUID> inRange = new HashSet<UUID>();
@ -208,7 +208,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
this.turns = player.turns; this.turns = player.turns;
this.left = player.left; this.left = player.left;
this.quitted = player.quitted; this.quit = player.quit;
this.range = player.range; this.range = player.range;
this.canGainLife = player.canGainLife; this.canGainLife = player.canGainLife;
this.canLoseLife = player.canLoseLife; this.canLoseLife = player.canLoseLife;
@ -256,7 +256,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
this.turns = player.getTurns(); this.turns = player.getTurns();
this.left = player.hasLeft(); this.left = player.hasLeft();
this.quitted = player.hasQuitted(); this.quit = player.hasQuit();
this.range = player.getRange(); this.range = player.getRange();
this.canGainLife = player.isCanGainLife(); this.canGainLife = player.isCanGainLife();
this.canLoseLife = player.isCanLoseLife(); this.canLoseLife = player.isCanLoseLife();
@ -1263,7 +1263,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
@Override @Override
public void quit(Game game) { public void quit(Game game) {
quitted = true; quit = true;
this.concede(game); this.concede(game);
} }
@ -1846,8 +1846,8 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
} }
@Override @Override
public boolean hasQuitted() { public boolean hasQuit() {
return quitted; return quit;
} }
} }