C# Class Drought.Entity.InfoBox

Mostrar archivo Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method 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 method

public InfoBox ( GameState state ) : Drought.Graphics
state Drought.State.GameState
return Drought.Graphics

render() public method

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

update() public method

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
return void