This is the main type for your game.
More...
List of all members.
Public Member Functions |
| Game1 () |
Protected Member Functions |
override void | Initialize () |
| 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.
|
override void | LoadContent () |
| LoadContent will be called once per game and is the place to load all of your content.
|
override void | UnloadContent () |
| UnloadContent will be called once per game and is the place to unload all content.
|
override void | Update (GameTime gameTime) |
| Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
override void | Draw (GameTime gameTime) |
| This is called when the game should draw itself.
|
Detailed Description
This is the main type for your game.
Definition at line 23 of file Game1.cs.
Constructor & Destructor Documentation
Member Function Documentation
override void visLU.Game1.Draw |
( |
GameTime |
gameTime ) |
[protected] |
This is called when the game should draw itself.
- Parameters:
-
gameTime | Provides a snapshot of timing values. |
Definition at line 159 of file Game1.cs.
override void visLU.Game1.Initialize |
( |
) |
[protected] |
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.
Definition at line 95 of file Game1.cs.
override void visLU.Game1.LoadContent |
( |
) |
[protected] |
LoadContent will be called once per game and is the place to load all of your content.
Definition at line 111 of file Game1.cs.
override void visLU.Game1.UnloadContent |
( |
) |
[protected] |
UnloadContent will be called once per game and is the place to unload all content.
Definition at line 124 of file Game1.cs.
override void visLU.Game1.Update |
( |
GameTime |
gameTime ) |
[protected] |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
- Parameters:
-
gameTime | Provides a snapshot of timing values. |
Definition at line 134 of file Game1.cs.
The documentation for this class was generated from the following file: