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

Inheritance: GameEntity
Afficher le fichier Open project: lucas-jones/MilkShake-old

Méthodes publiques

Méthode 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 méthode

public GetHeight ( float x ) : float
x float
Résultat float

Splash() public méthode

public Splash ( float xPosition, float speed ) : void
xPosition float
speed float
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Water() public méthode

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
Résultat System