Свойство | Type | Description | |
---|---|---|---|
currTime | TimeSpan | ||
gameEnded | bool | ||
hurt_time | int | ||
levelnum | int | ||
livesRemaining | int |
Méthode | Description | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
GameEngine ( ArcadeRPG.TimeExpired t, |
||
Initialize ( ) : 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 ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
LoadLevel ( int level_num ) : void | ||
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( GameTime gameTime ) : void |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
|
die ( ) : void | ||
drawItems ( SpriteBatch sb, SpriteFont sf ) : void | ||
hasMoreLives ( ) : Boolean | ||
hasTimeLeft ( ) : bool | ||
resetTimer ( ) : void | ||
testAtExit ( int x, int y ) : bool |
public Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
spriteBatch | ||
Résultat | void |
public GameEngine ( ArcadeRPG.TimeExpired t, |
||
t | ArcadeRPG.TimeExpired | |
g | ||
Résultat | System |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
Content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public Update ( GameTime gameTime ) : void | ||
gameTime | GameTime | Provides a snapshot of timing values. |
Résultat | void |
public drawItems ( SpriteBatch sb, SpriteFont sf ) : void | ||
sb | SpriteBatch | |
sf | SpriteFont | |
Résultat | void |