Example #1
0
        public Cell GetPoint(Point Location)
        {
            if (_table.ContainsKey(Location))
            {
                return(_table[Location]);
            }
            var resoult = new Cell(_seed.IsOver(Location.X, Location.Y) ? AsciiTextures[Material.Air] : AsciiTextures[Material.Darknes]);

            resoult.Priority = ZValue;
            _table.Add(Location, resoult);
            return(resoult);
        }