Пример #1
0
 public DangerMask(MovementMask movementMask, Board board, int bombWaveSize)
 {
     this.movementMask = movementMask;
     this.board        = board;
     this.bombWaveSize = bombWaveSize;
     boardMask         = new List <List <int> >();
 }
Пример #2
0
        public BenefitMask(MovementMask movementMask, Board board, int bombWaveSize)
        {
            Random random = new Random();

            this.board        = board;
            this.movementMask = movementMask;
            this.bombWaveSize = bombWaveSize;
        }
Пример #3
0
 public BenefitMask GetBenefitMask(MovementMask movementMask, int wave)
 {
     return(new BenefitMask(movementMask, board, wave));
 }
Пример #4
0
 public DangerMask GetDangerMask(MovementMask movementMask, int wave)
 {
     return(new DangerMask(movementMask, this.board, wave));
 }