public bool CanBePlayed(BoardState board, PlayerBoardState player) { return(true); }
public List <ITarget> GetAttackTargetOptions(BoardState board) { return(player.opponent.GetValidAttackVictims().Cast <ITarget>().ToList()); }
public BoardState(BoardState original) { }
/// <summary> /// Creates a card from a cardpool into a game, without changing the template. /// </summary> /// <param name="deck"></param> /// <param name="board"></param> /// <param name="player"></param> /// <returns></returns> public virtual ICard InstantiateModel(Deck deck, BoardState board, PlayerBoardState player) { throw new NotSupportedException("Override InstantiateModel if inheriting from CardTemplate, this template is not suppose to be instantiated as Model"); }
public Hero(BoardState board, PlayerBoardState player) { this.board = board; this.player = player; }