Some object classes are created and destroyed rapidly.
This can increase performance overhead and run into high rates of garbage collection, which can interfere with the smoothness of the game.
ActorInfo
[x] Implement Factory class or equivalent to allow handling of an object pool
[x] Implement object pool
[x] Prevent inappropriate object reuse by issuing unique IDs
[x] Prevent inappropriate object reuse by scoping ActorInfo instances and block disposal until scopes are cleared
ActionInfo
[x] Redesign ActionInfo to allow configurable AIs before proceeding
[x] Implement Factory class or equivalent to allow handling of an object pool
Some object classes are created and destroyed rapidly. This can increase performance overhead and run into high rates of garbage collection, which can interfere with the smoothness of the game.
ActorInfo
ActionInfo