private BattleCharacter(ILog log, string name, ICharStats stats, BattleSide loyalty, BattleDeck deck) { _log = log; Name = name; Hand = new BattleHand(() => CurrentActionPoints, () => CurrentEnergy); _stats = new BattleCharacterStats(stats); _effects = new BattleCharacterStatusEffects(); Loyalty = loyalty; Deck = deck; DrawCards(_stats[BattleStat.StartingCards]); }
public static BattleCharacter Create(BattleSide side, CharacterSheet charSheet) { return(new BattleCharacter(BattleLog.Instance, charSheet.Name, charSheet.Stats, side, BattleDeck.Create(charSheet.Deck.Cards))); }