Example #1
0
 protected virtual void OnVisitWall(VisitWallEventArgs e)
 {
     if (VisitWall != null)
     {
         VisitWall?.Invoke(this, e);
     }
 }
Example #2
0
        public void VisitWallHandler(object sender, VisitWallEventArgs e)
        {
            //foreach(KeyValuePair<Position, Cell> kvp in e.wall.NeighborhoodCells.Where(kvp => !(kvp.Value is Wall)))
            //{
            //    Board boardTemp = e.wall.board.Clone();
            //    boardTemp.Cells[kvp.Value.hex].CanPush()

            //    _moves.Add(new Move(kvp.Value
            //}
        }
Example #3
0
 public void VisitWallHandler(object sender, VisitWallEventArgs e)
 {
     // do nothing
 }