Microsoft.Xna.Framework
Class GameComponent

java.lang.Object
  extended by Microsoft.Xna.Framework.GameComponent
All Implemented Interfaces:
IGameComponent, IUpdateable, System.IDisposable
Direct Known Subclasses:
DrawableGameComponent, GamerServicesComponent

public class GameComponent
extends java.lang.Object
implements IGameComponent, IUpdateable, System.IDisposable


Field Summary
 
Fields inherited from interface Microsoft.Xna.Framework.IUpdateable
EnabledChanged, UpdateOrderChanged
 
Constructor Summary
GameComponent(Game game)
           
 
Method Summary
 void Dispose()
           
 boolean getEnabled()
           
 Game getGame()
           
 int getUpdateOrder()
           
 void Initialize()
           
 void setEnabled(boolean value)
           
 void setUpdateOrder(int value)
           
 void Update(GameTime gameTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameComponent

public GameComponent(Game game)
Method Detail

getEnabled

public boolean getEnabled()
Specified by:
getEnabled in interface IUpdateable

setEnabled

public void setEnabled(boolean value)

getGame

public Game getGame()

getUpdateOrder

public int getUpdateOrder()
Specified by:
getUpdateOrder in interface IUpdateable

setUpdateOrder

public void setUpdateOrder(int value)

Dispose

public void Dispose()
Specified by:
Dispose in interface System.IDisposable

Initialize

public void Initialize()
Specified by:
Initialize in interface IGameComponent

Update

public void Update(GameTime gameTime)
Specified by:
Update in interface IUpdateable