private BaseCharacter GetTarget(CardPotentialTarget target) { BaseCharacter result = null; switch (target) { case CardPotentialTarget.Debug: break; case CardPotentialTarget.Enemy: result = _currentCombatTarget; break; case CardPotentialTarget.Player: //return _playerChar;// add basic ITargetable interface or something break; } return(result); }
public EffectData(CardPotentialTarget t, BaseCardEffectStats e, string eN) { target = t; effect = e; effectName = eN; }