C# Class LuxEngine.Bar

A component that shows the rate between a value and a max value. Inherits from Scene.
Inheritance: Scene
Exibir arquivo Open project: Louis-Dureuil/maya-vs-the-world

Public Properties

Property Type Description
BackgroundColor Color
Size Vector2
ValueColor Color

Public Methods

Method Description
Bar ( LuxGame game, Vector2 Size ) : System
Bar ( Scene parent, Vector2 Size ) : System
Destroy ( ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

Bar() public method

public Bar ( LuxGame game, Vector2 Size ) : System
game LuxGame
Size Vector2
return System

Bar() public method

public Bar ( Scene parent, Vector2 Size ) : System
parent Scene
Size Vector2
return System

Destroy() public method

public Destroy ( ) : void
return void

Draw() public method

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

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Property Details

BackgroundColor public_oe property

public Color BackgroundColor
return Color

Size public_oe property

public Vector2 Size
return Vector2

ValueColor public_oe property

public Color ValueColor
return Color