Implement emotions
This commit is contained in:
parent
08c395cf51
commit
11df4f1164
25 changed files with 369 additions and 40 deletions
|
|
@ -25,6 +25,8 @@ public abstract class BaseCard
|
|||
public int GetCost() {return this.cost;}
|
||||
public string GetDisplayType() {
|
||||
switch (this.type) {
|
||||
case CardType.Emotion:
|
||||
return "Emotion";
|
||||
case CardType.Attack:
|
||||
return "Attack";
|
||||
case CardType.Skill:
|
||||
|
|
@ -41,7 +43,15 @@ public abstract class BaseCard
|
|||
return this.type == CardType.Enchantment;
|
||||
}
|
||||
|
||||
public bool IsEphemeral() {
|
||||
return this.type == CardType.Emotion;
|
||||
}
|
||||
|
||||
public string StringId {
|
||||
get => this.stringId;
|
||||
}
|
||||
|
||||
public CardType Type {
|
||||
get => this.type;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue