Method IncCapacity
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
IncCapacity(int)
Increases the capacity of the pool.
[Obsolete("Use IncreaseCapacity instead.")]
public void IncCapacity(int increment)
Parameters
increment
intThe number of new pool objects to add.
Exceptions
- ArgumentOutOfRangeException
increment
is negative.