Fixed:Client Resilience (TCP)
This commit is contained in:
@@ -59,6 +59,20 @@ public abstract class OrderLogicCard implements Serializable {
|
||||
|
||||
|
||||
}
|
||||
/**
|
||||
* Adds the player to the end of the queue, without effects.
|
||||
*
|
||||
* @param player the player to be pushed into the queue.
|
||||
*/
|
||||
public void pushNoEffect(Player player){
|
||||
if(players.size()==0)
|
||||
{
|
||||
playerList=new ArrayList<>();
|
||||
|
||||
}
|
||||
playerList.add(new OrderPlayer(player,false));
|
||||
players.add(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes and returns the first player in the queue.
|
||||
|
||||
Reference in New Issue
Block a user