Esempio n. 1
0
        public static void Initialize(int tileSize, int partitionSize)
        {
            largeObjectTile = new PartitionTile(Rectangle.Empty);
            TileSize        = tileSize;
            PartitionSize   = partitionSize;

            // Initialize pool.
            for (int i = 0; i < InitialPoolSize; i++)
            {
                Rectangle        bounds    = new Rectangle(0, 0, PartitionSize, PartitionSize);
                SpatialPartition partition = new SpatialPartition(TileSize, bounds);
                ReturnToPool(partition);
            }
        }
Esempio n. 2
0
 public void RemovedFromPartition(PartitionTile tile)
 {
 }
Esempio n. 3
0
 public void InsertedIntoPartition(PartitionTile tile)
 {
 }