DrawableGameComponent Constructor

Creates a new instance of DrawableGameComponent.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public DrawableGameComponent (
         Game game
)

Parameters

  • game
    The Game to add the component to.

See Also

Reference

DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista