made all 'PowerCards' serializable
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package pp.mdga.game.card;
|
||||
|
||||
import com.jme3.network.serializing.Serializable;
|
||||
import pp.mdga.game.BonusCard;
|
||||
import pp.mdga.visitor.Visitor;
|
||||
|
||||
/**
|
||||
* This class represents the hidden power card of this application.
|
||||
*/
|
||||
@Serializable
|
||||
public class HiddenCard extends PowerCard {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package pp.mdga.game.card;
|
||||
|
||||
import com.jme3.network.serializing.Serializable;
|
||||
import pp.mdga.game.BonusCard;
|
||||
import pp.mdga.visitor.Visitor;
|
||||
|
||||
/**
|
||||
* This class represents the shield power card of this application.
|
||||
*/
|
||||
@Serializable
|
||||
public class ShieldCard extends PowerCard {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package pp.mdga.game.card;
|
||||
|
||||
import com.jme3.network.serializing.Serializable;
|
||||
import pp.mdga.game.BonusCard;
|
||||
import pp.mdga.visitor.Visitor;
|
||||
|
||||
/**
|
||||
* This class represents the swap power card of this application.
|
||||
*/
|
||||
@Serializable
|
||||
public class SwapCard extends PowerCard {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package pp.mdga.game.card;
|
||||
|
||||
import com.jme3.network.serializing.Serializable;
|
||||
import pp.mdga.game.BonusCard;
|
||||
import pp.mdga.visitor.Visitor;
|
||||
|
||||
/**
|
||||
* This class represents the turbo power card of this application.
|
||||
*/
|
||||
@Serializable
|
||||
public class TurboCard extends PowerCard {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
Reference in New Issue
Block a user