Class UIComponent

Namespace
Forma
Assembly
Forma.dll

Connects a UIContext to an XNA-compatible Microsoft.Xna.Framework.Game.

public sealed class UIComponent : DrawableGameComponent, IGameComponent, IUpdateable, IDisposable, IDrawable
Inheritance
GameComponent
DrawableGameComponent
UIComponent
Implements
IGameComponent
IUpdateable
IDrawable
Inherited Members
DrawableGameComponent.Initialize()
DrawableGameComponent.GraphicsDevice
DrawableGameComponent.DrawOrder
DrawableGameComponent.Visible
DrawableGameComponent.DrawOrderChanged
DrawableGameComponent.VisibleChanged
GameComponent.Dispose()
GameComponent.Game
GameComponent.Enabled
GameComponent.UpdateOrder
GameComponent.EnabledChanged
GameComponent.UpdateOrderChanged

Constructors

UIComponent(Game, UIContext)

public UIComponent(Game game, UIContext context = null)

Parameters

game Game
context UIContext

Properties

Context

public UIContext Context { get; }

Property Value

UIContext

Methods

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

Draw(GameTime)

public override void Draw(GameTime gameTime)

Parameters

gameTime GameTime

Update(GameTime)

public override void Update(GameTime gameTime)

Parameters

gameTime GameTime