Property | Type | Description | |
---|---|---|---|
BusyProjectiles | List |
||
Capacity | int | ||
FreeProjectiles | List |
Method | Description | |
---|---|---|
FreeProjectile ( WaveOculusDemoProject.Components.ProjectileController projectile ) : void |
Release a projectile to reuse other time
|
|
GetFreeProjectile ( ) : WaveOculusDemoProject.Components.ProjectileController |
Get a new free projectile
|
Method | Description | |
---|---|---|
DefaultValues ( ) : void |
Instantiate a new projectile manager
|
|
Initialize ( ) : void |
Initializes the new projectile manager
|
|
Update ( System.TimeSpan gameTime ) : void |
Controls each projectile life
|
Method | Description | |
---|---|---|
InstantiateProjectiles ( int numProjectiles ) : void |
Instantiate projectiles
|
public FreeProjectile ( WaveOculusDemoProject.Components.ProjectileController projectile ) : void | ||
projectile | WaveOculusDemoProject.Components.ProjectileController | The projectile |
return | void |
public GetFreeProjectile ( ) : WaveOculusDemoProject.Components.ProjectileController | ||
return | WaveOculusDemoProject.Components.ProjectileController |
protected Update ( System.TimeSpan gameTime ) : void | ||
gameTime | System.TimeSpan | The current gametime |
return | void |