Exemple #1
0
        internal bool Exists(BotRace.Game.Position position)
        {
            var size = Grid.Length;

            return(0 <= position.Column && position.Column < size &&
                   0 <= position.Row && position.Row < size);
        }
Exemple #2
0
 public ICell CellAt(BotRace.Game.Position position)
 {
     return(Grid[position.Row][position.Column]);
 }