Class AllocatingPools

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

No reuse: every Rent allocates. The reference behaviour and the fallback before pools are set.

public sealed class AllocatingPools : ISimPools
Inheritance
AllocatingPools
Implements
Inherited Members

Constructors

AllocatingPools()

public AllocatingPools()

Methods

RentEnemy()

public Enemy RentEnemy()

Returns

Enemy

RentProjectile()

public Projectile RentProjectile()

Returns

Projectile

RentStatus()

public StatusInstance RentStatus()

Returns

StatusInstance

Return(Enemy)

public void Return(Enemy enemy)

Parameters

enemy Enemy

Return(Projectile)

public void Return(Projectile projectile)

Parameters

projectile Projectile

Return(StatusInstance)

public void Return(StatusInstance status)

Parameters

status StatusInstance