mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Added missing changes of renaming quitted to quit.
This commit is contained in:
parent
489a727f5c
commit
001f8ec1e6
1 changed files with 7 additions and 7 deletions
|
@ -145,8 +145,8 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
|
||||
// conceded or connection lost game
|
||||
protected boolean left;
|
||||
// quitted match
|
||||
protected boolean quitted;
|
||||
// quit match
|
||||
protected boolean quit;
|
||||
|
||||
protected RangeOfInfluence range;
|
||||
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.left = player.left;
|
||||
this.quitted = player.quitted;
|
||||
this.quit = player.quit;
|
||||
this.range = player.range;
|
||||
this.canGainLife = player.canGainLife;
|
||||
this.canLoseLife = player.canLoseLife;
|
||||
|
@ -256,7 +256,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
this.turns = player.getTurns();
|
||||
|
||||
this.left = player.hasLeft();
|
||||
this.quitted = player.hasQuitted();
|
||||
this.quit = player.hasQuit();
|
||||
this.range = player.getRange();
|
||||
this.canGainLife = player.isCanGainLife();
|
||||
this.canLoseLife = player.isCanLoseLife();
|
||||
|
@ -1263,7 +1263,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
|
||||
@Override
|
||||
public void quit(Game game) {
|
||||
quitted = true;
|
||||
quit = true;
|
||||
this.concede(game);
|
||||
}
|
||||
|
||||
|
@ -1846,8 +1846,8 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean hasQuitted() {
|
||||
return quitted;
|
||||
public boolean hasQuit() {
|
||||
return quit;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue