Refactor BattleSprites out of BattleController

This commit is contained in:
henriquenakashima 2020-10-01 23:30:19 -04:00
parent 737a851283
commit eb51ebace0
8 changed files with 110 additions and 61 deletions

View file

@ -4,10 +4,10 @@ using UnityEngine;
public class BattleHero: BattleParticipant
{
HeroId id;
protected HeroId mId;
public BattleHero(HeroId id) : base(TeamChoice.Heroes) {
this.id = id;
mId = id;
switch (id)
{
case HeroId.Alchemist:
@ -31,7 +31,5 @@ public class BattleHero: BattleParticipant
}
}
public HeroId GetId() {
return this.id;
}
public HeroId Id {get => mId;}
}