GameComponent.Game Property

Gets the Game associated with this GameComponent.

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

Syntax

public Game Game { get; }

Property Value

The Game associated with this GameComponent.

See Also

Reference

GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP