Table of Contents

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 int

The number of new pool objects to add.

Exceptions

ArgumentOutOfRangeException

increment is negative.