Fix: OrderPlayer is now serializable
This commit is contained in:
@@ -2,12 +2,14 @@ package it.polimi.ingsw.gc14.Model.Orders;
|
||||
|
||||
import it.polimi.ingsw.gc14.Model.Player;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Abstract base class for all order logic cards.
|
||||
* An OrderLogicCard manages a queue of players and defines the effects
|
||||
* applied when players are pushed back into the queue.
|
||||
*/
|
||||
public class OrderPlayer{
|
||||
public class OrderPlayer implements Serializable {
|
||||
public Player player;
|
||||
public boolean played;
|
||||
public OrderPlayer(Player player,boolean played){
|
||||
|
||||
Reference in New Issue
Block a user