Пример #1
0
 public bool CanBePlayed(BoardState board, PlayerBoardState player)
 {
     return(true);
 }
Пример #2
0
 public List <ITarget> GetAttackTargetOptions(BoardState board)
 {
     return(player.opponent.GetValidAttackVictims().Cast <ITarget>().ToList());
 }
Пример #3
0
 public BoardState(BoardState original)
 {
 }
Пример #4
0
 /// <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");
 }
Пример #5
0
 public Hero(BoardState board, PlayerBoardState player)
 {
     this.board  = board;
     this.player = player;
 }