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
-
GameComponentDrawableGameComponentUIComponent
- Implements
-
IGameComponentIUpdateableIDrawable
- Inherited Members
-
DrawableGameComponent.Initialize()DrawableGameComponent.GraphicsDeviceDrawableGameComponent.DrawOrderDrawableGameComponent.VisibleDrawableGameComponent.DrawOrderChangedDrawableGameComponent.VisibleChangedGameComponent.Dispose()GameComponent.GameGameComponent.EnabledGameComponent.UpdateOrderGameComponent.EnabledChangedGameComponent.UpdateOrderChanged
Constructors
UIComponent(Game, UIContext)
public UIComponent(Game game, UIContext context = null)
Parameters
gameGamecontextUIContext
Properties
Context
public UIContext Context { get; }
Property Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposingbool
Draw(GameTime)
public override void Draw(GameTime gameTime)
Parameters
gameTimeGameTime
Update(GameTime)
public override void Update(GameTime gameTime)
Parameters
gameTimeGameTime