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); } }
public void RemovedFromPartition(PartitionTile tile) { }
public void InsertedIntoPartition(PartitionTile tile) { }