Beispiel #1
0
        public CellInfo GetCellInfo(int y, int x)
        {
            CellInfo cell = null;

            try
            {
                cell = MapStatus.First((ci) => ci.X == x && ci.Y == y);
            }
            catch
            {
                cell = null;
            }
            return(cell);
        }