C# Class Infiniminer.ParticleEngine

Datei anzeigen Open project: bobisfat/Infiniminer Class Usage Examples

Public Methods

Method Description
CreateBlockDebris ( Vector3 explosionPosition, BlockType block, float mag ) : void
CreateBloodSplatter ( Vector3 playerPosition, Color color, float strength ) : void
CreateDiggingDebris ( Vector3 explosionPosition, BlockType block ) : void
CreateExplosionDebris ( Vector3 explosionPosition ) : void
CreateHidden ( Vector3 Position, Color color ) : void
CreateTrail ( Vector3 Position, Color color ) : void
ParticleEngine ( InfiniminerGame gameInstance ) : System
Render ( GraphicsDevice graphicsDevice ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
GenerateVertices ( ) : Infiniminer.VertexPositionTextureShade[]
ParticleExpired ( Particle particle ) : bool

Method Details

CreateBlockDebris() public method

public CreateBlockDebris ( Vector3 explosionPosition, BlockType block, float mag ) : void
explosionPosition Vector3
block BlockType
mag float
return void

CreateBloodSplatter() public method

public CreateBloodSplatter ( Vector3 playerPosition, Color color, float strength ) : void
playerPosition Vector3
color Color
strength float
return void

CreateDiggingDebris() public method

public CreateDiggingDebris ( Vector3 explosionPosition, BlockType block ) : void
explosionPosition Vector3
block BlockType
return void

CreateExplosionDebris() public method

public CreateExplosionDebris ( Vector3 explosionPosition ) : void
explosionPosition Vector3
return void

CreateHidden() public method

public CreateHidden ( Vector3 Position, Color color ) : void
Position Vector3
color Color
return void

CreateTrail() public method

public CreateTrail ( Vector3 Position, Color color ) : void
Position Vector3
color Color
return void

ParticleEngine() public method

public ParticleEngine ( InfiniminerGame gameInstance ) : System
gameInstance InfiniminerGame
return System

Render() public method

public Render ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void