Table of Contents

Method DecCapacity

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

DecCapacity(int)

Decreases the capacity of the pool.

[Obsolete("Use DecreaseCapacity instead.")]
public void DecCapacity(int decrement)

Parameters

decrement int

The number of pool objects to destroy.

Remarks

This method may destroy active objects.

Exceptions

ArgumentOutOfRangeException

decrement is negative.