Tribe Cards Partial Implementation
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
package it.polimi.ingsw.gc14.Model;
|
||||||
|
|
||||||
|
import javax.smartcardio.Card;
|
||||||
|
|
||||||
|
public abstract class TribeCard extends PlayableCard {
|
||||||
|
public TribeCard(int Era) {
|
||||||
|
super(Era);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package it.polimi.ingsw.gc14.Model;
|
||||||
|
|
||||||
|
public abstract class Character extends TribeCard {
|
||||||
|
public Character(int Era, CharacterType type){
|
||||||
|
super(Era);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package it.polimi.ingsw.gc14.Model;
|
||||||
|
|
||||||
|
public enum CharacterType {
|
||||||
|
INVENTOR,BUILDER,GATHERERS,ARTIST,SHAMAN,HUNTER
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters;
|
||||||
|
|
||||||
|
public class Inventor {
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
package it.polimi.ingsw.gc14.Model.Cards;
|
||||||
|
|
||||||
|
public abstract class PlayableCard {
|
||||||
|
private int Era;
|
||||||
|
public int getEra(){
|
||||||
|
return Era;
|
||||||
|
}
|
||||||
|
public PlayableCard (int Era){
|
||||||
|
this.Era = Era;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user