C# Class Ballz.GameSession.World.Water

Datei anzeigen Open project: SpagAachen/Ballz Class Usage Examples

Public Properties

Property Type Description
ParticleCount int

Public Methods

Method Description
AddParticles ( Vector2 position, int count ) : void
Initialize ( World world, PhysicsControl physics ) : void
Step ( World worldState, float elapsedSeconds ) : void
Water ( int width, int height ) : System

Private Methods

Method Description
Avoidance ( float elapsedSeconds ) : void
Collision ( float elapsedSeconds ) : void
Viscosity ( float elapsedSeconds ) : void
WorldCollision ( float elapsedSeconds ) : void

Method Details

AddParticles() public method

public AddParticles ( Vector2 position, int count ) : void
position Vector2
count int
return void

Initialize() public method

public Initialize ( World world, PhysicsControl physics ) : void
world World
physics Ballz.GameSession.Physics.PhysicsControl
return void

Step() public method

public Step ( World worldState, float elapsedSeconds ) : void
worldState World
elapsedSeconds float
return void

Water() public method

public Water ( int width, int height ) : System
width int
height int
return System

Property Details

ParticleCount public_oe property

public int ParticleCount
return int