Add some art, fix UI anchors
This commit is contained in:
parent
c31747bc19
commit
0ca4c3276d
22 changed files with 542 additions and 65 deletions
|
|
@ -9,13 +9,15 @@ public abstract class BaseCard
|
|||
protected int cost;
|
||||
protected CardType type;
|
||||
protected string effectText;
|
||||
protected string stringId;
|
||||
|
||||
public BaseCard(BattleParticipant owner, string displayName, int cost, CardType type, string effectText) {
|
||||
public BaseCard(BattleParticipant owner, string displayName, int cost, CardType type, string effectText, string stringId) {
|
||||
this.owner = owner;
|
||||
this.displayName = displayName;
|
||||
this.cost = cost;
|
||||
this.type = type;
|
||||
this.effectText = effectText;
|
||||
this.stringId = stringId;
|
||||
}
|
||||
|
||||
public BattleParticipant Owner {get => this.owner;}
|
||||
|
|
@ -38,4 +40,8 @@ public abstract class BaseCard
|
|||
public bool IsPermanent() {
|
||||
return this.type == CardType.Enchantment;
|
||||
}
|
||||
|
||||
public string StringId {
|
||||
get => this.stringId;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue