DrawableGameComponent Constructor

Creates a new instance of DrawableGameComponent.

Syntax

'Declaration
Public Sub New ( _
         game As Game _
)
public DrawableGameComponent (
         Game game
)
public:
DrawableGameComponent(
         Game game
)

Parameters

  • game
    Type: Game
    The Game that the game component should be attached to.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone