共用方式為


DrawableGameComponent Class

A game component that is notified when it needs to draw itself.

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

Syntax

public class DrawableGameComponent : GameComponent, IDrawable

See Also

Reference

DrawableGameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP