C# Class Drought.Entity.InfoBox

Afficher le fichier Open project: kiniry-teaching/UCD Class Usage Examples

Méthodes publiques

Méthode Description
InfoBox ( GameState state ) : Drought.Graphics
render ( GraphicsDevice graphics, Matrix view, Matrix projection ) : void
update ( Microsoft.Xna.Framework.Vector3 newPosition, float newOpacity, int currHealth, int maxHealth, int currWater, int maxWater ) : void

Method Details

InfoBox() public méthode

public InfoBox ( GameState state ) : Drought.Graphics
state Drought.State.GameState
Résultat Drought.Graphics

render() public méthode

public render ( GraphicsDevice graphics, Matrix view, Matrix projection ) : void
graphics GraphicsDevice
view Microsoft.Xna.Framework.Matrix
projection Microsoft.Xna.Framework.Matrix
Résultat void

update() public méthode

public update ( Microsoft.Xna.Framework.Vector3 newPosition, float newOpacity, int currHealth, int maxHealth, int currWater, int maxWater ) : void
newPosition Microsoft.Xna.Framework.Vector3
newOpacity float
currHealth int
maxHealth int
currWater int
maxWater int
Résultat void