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