Esempio n. 1
0
 public override bool IsDestinationAllowed(Point node, HackGameBoard board)
 {
     //if location is a node
     if (board.InBoard(node) && board.board[node.Y, node.X].type == HackGameBoardElementBaseType.HackGameBoardElementBaseType_Node
         && board.IsNodeAlive(board, node))
     {
         return true;
     }
     return false;
 }