C# Class LuxEngine.Window

A component with a frame that contains other components (bars, text, ...).Inherits from Scene.
Inheritance: Scene
Exibir arquivo Open project: Louis-Dureuil/maya-vs-the-world

Public Properties

Property Type Description
BackgroundColor Color
WindowRectangle Rectangle
WithFrame bool

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void
Window ( LuxGame game, Rectangle rect ) : System
Window ( Scene parent, Rectangle rect ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
LoadContent ( ) : void
UnloadContent ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
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

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() public method

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

Window() public method

public Window ( LuxGame game, Rectangle rect ) : System
game LuxGame
rect Rectangle
return System

Window() public method

public Window ( Scene parent, Rectangle rect ) : System
parent Scene
rect Rectangle
return System

Property Details

BackgroundColor public_oe property

public Color BackgroundColor
return Color

WindowRectangle public_oe property

public Rectangle WindowRectangle
return Rectangle

WithFrame public_oe property

public bool WithFrame
return bool