C# Class hyades.graphics.particle.ParticleManager

Mostra file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
particle_array hyades.graphics.particle.Particle[]
particle_pool Queue

Public Methods

Method Description
Draw ( GraphicsDevice device, Camera camera ) : void
Emit ( IParticleLogic logic, float life ) : Particle
Explode ( Vector3 position, float radius ) : void
GetInstance ( ) : ParticleManager
Implode ( Vector3 position, float radius ) : void
ParticleManager ( ) : System
Update ( double elapsed ) : void

Private Methods

Method Description
Interact ( Vector3 position, float radius, bool explode ) : void

Method Details

Draw() public method

public Draw ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
return void

Emit() public method

public Emit ( IParticleLogic logic, float life ) : Particle
logic IParticleLogic
life float
return Particle

Explode() public method

public Explode ( Vector3 position, float radius ) : void
position Vector3
radius float
return void

GetInstance() public static method

public static GetInstance ( ) : ParticleManager
return ParticleManager

Implode() public method

public Implode ( Vector3 position, float radius ) : void
position Vector3
radius float
return void

ParticleManager() public method

public ParticleManager ( ) : System
return System

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

particle_array public_oe property

public Particle[],hyades.graphics.particle particle_array
return hyades.graphics.particle.Particle[]

particle_pool public_oe property

public Queue particle_pool
return Queue