Share via


GameComponent.Game Property

Gets and sets the Game associated with this GameComponent.

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

Syntax

protected Game Game { get; }

Property Value

The Game associated with this GameComponent.

See Also

Reference

GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace

Programming Guide

Application Model Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista