GameComponent Class (Microsoft.Xna.Framework)

System.Object
   Microsoft.Xna.Framework.GameComponent
      Microsoft.Xna.Framework.DrawableGameComponent

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • C#
  • VB
  • F#
public class GameComponent : IGameComponent, IUpdateable, IComparable<GameComponent>, IDisposable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The GameComponent type exposes the following members.

  Platforms Name Description
GameComponent  
Top
  Platforms Name Description
Enabled  (Implements IUpdateable.Enabled().)
Game  
UpdateOrder  (Implements IUpdateable.UpdateOrder().)
Top
  Platforms Name Description
CompareTo  (Implements IComparable<T>.CompareTo().)
Dispose(bool) Shuts down the component. 
Dispose() Shuts down the component. (Implements IDisposable.Dispose().)
Finalize  (Overrides object.Finalize().)
Initialize  (Implements IGameComponent.Initialize().)
OnEnabledChanged  
OnUpdateOrderChanged  
Update  (Implements IUpdateable.Update().)
Top
  Platforms Name Description
EnabledChanged  (Implements IUpdateable.EnabledChanged().)
UpdateOrderChanged  (Implements IUpdateable.UpdateOrderChanged().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web