C# Class MilkShakeFramework.Core.Game.Components.Water.Water

Inheritance: GameEntity
Mostrar archivo Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
GetHeight ( float x ) : float
Splash ( float xPosition, float speed ) : void
Update ( GameTime gameTime ) : void
Water ( int width, int height, int columns, WaterRenderer renderer = null, float tension = 0.025f, float dampening = 0.025f, float spread = 0.025f ) : System

Method Details

GetHeight() public method

public GetHeight ( float x ) : float
x float
return float

Splash() public method

public Splash ( float xPosition, float speed ) : void
xPosition float
speed float
return void

Update() public method

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

Water() public method

public Water ( int width, int height, int columns, WaterRenderer renderer = null, float tension = 0.025f, float dampening = 0.025f, float spread = 0.025f ) : System
width int
height int
columns int
renderer WaterRenderer
tension float
dampening float
spread float
return System