Microsoft.Xna.Framework
Class GameComponent
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameComponent
public GameComponent(Game game)
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