示例#1
0
        private void MakeVisit(BlockCoordinates inc)
        {
            BlockCoordinates coordinates = new BlockCoordinates(inc.X, 0, inc.Z);

            if (Visits.ContainsKey(coordinates))
            {
                Visits[coordinates] = Visits[coordinates] + 1;
            }
            else
            {
                Visits.TryAdd(coordinates, 1);
            }
        }