Method | Description | |
---|---|---|
Draw ( GameTime gameTime ) : void |
This is called when the game should draw itself.
|
|
GameInstance ( GraphicsDeviceManager gfx, Microsoft.Xna.Framework.Content.ContentManager content, |
||
Initialize ( GraphicsDevice graphicsDevice ) : void |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
Update ( GameTime gameTime ) : void |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
Method | Description | |
---|---|---|
CreateBaby ( ) : void |
public Draw ( GameTime gameTime ) : void | ||
gameTime | GameTime | Provides a snapshot of timing values. |
return | void |
public GameInstance ( GraphicsDeviceManager gfx, Microsoft.Xna.Framework.Content.ContentManager content, |
||
gfx | GraphicsDeviceManager | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
game | ||
return | System |
public Initialize ( GraphicsDevice graphicsDevice ) : void | ||
graphicsDevice | GraphicsDevice | |
return | void |
public Update ( GameTime gameTime ) : void | ||
gameTime | GameTime | Provides a snapshot of timing values. |
return | void |