Свойство | Type | Description | |
---|---|---|---|
CONFIG_DEBUG | bool | ||
CONFIG_FRAMERATE | float | ||
CONFIG_ITEMS | string | ||
CONFIG_KID_START_ENERGY | int | ||
CONFIG_PATH_APOPLEXY | string | ||
CONFIG_PATH_CONTENT | string | ||
CONFIG_PATH_LEVELS | string | ||
CONFIG_PATH_ROOMS | string | ||
CONFIG_PATH_SEQUENCES | string | ||
CONFIG_SCREEN_HEIGHT | int | ||
CONFIG_SCREEN_WIDTH | int | ||
CONFIG_SONGS | string | ||
CONFIG_SOUNDS | string | ||
CONFIG_SPRITE_EFFECTS | string | ||
CONFIG_SPRITE_GUARD | string | ||
CONFIG_SPRITE_KID | string | ||
CONFIG_SPRITE_SERPENT | string | ||
CONFIG_SPRITE_SKELETON | string | ||
CONFIG_TILES | string[] | ||
enemy_energy | Microsoft.Xna.Framework.Graphics.Texture2D | ||
enemy_livePoints | Microsoft.Xna.Framework.Graphics.Texture2D | ||
player_energy | Microsoft.Xna.Framework.Graphics.Texture2D | ||
player_livePoints | Microsoft.Xna.Framework.Graphics.Texture2D |
Méthode | Description | |
---|---|---|
Activate ( bool instancePreserved ) : void |
Load graphics content for the game.
|
|
Deactivate ( ) : void | ||
Draw ( |
Draws the game from background to foreground.
|
|
HandleInput ( |
||
PrinceOfPersiaGame ( ) : System | ||
Unload ( ) : void |
Unload graphics content used by the game.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
Méthode | Description | |
---|---|---|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
Méthode | Description | |
---|---|---|
DrawBackground ( ) : void | ||
DrawBottom ( ) : void | ||
DrawDebug ( |
||
DrawHud ( ) : void | ||
DrawShadowedString ( |
||
RetrieveLinkerTimestamp ( ) : System.DateTime |
public Activate ( bool instancePreserved ) : void | ||
instancePreserved | bool | |
Résultat | void |
public Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
Résultat | void |
public HandleInput ( |
||
gameTime | ||
input | InputState | |
Résultat | void |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
Résultat | void |
public static int CONFIG_KID_START_ENERGY | ||
Résultat | int |
public static string CONFIG_PATH_APOPLEXY | ||
Résultat | string |
public static string CONFIG_PATH_CONTENT | ||
Résultat | string |
public static string CONFIG_PATH_LEVELS | ||
Résultat | string |
public static string CONFIG_PATH_ROOMS | ||
Résultat | string |
public static string CONFIG_PATH_SEQUENCES | ||
Résultat | string |
public static int CONFIG_SCREEN_HEIGHT | ||
Résultat | int |
public static string CONFIG_SPRITE_EFFECTS | ||
Résultat | string |
public static string CONFIG_SPRITE_GUARD | ||
Résultat | string |
public static string CONFIG_SPRITE_KID | ||
Résultat | string |
public static string CONFIG_SPRITE_SERPENT | ||
Résultat | string |
public static string CONFIG_SPRITE_SKELETON | ||
Résultat | string |
public static Texture2D,Microsoft.Xna.Framework.Graphics enemy_energy | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public static Texture2D,Microsoft.Xna.Framework.Graphics enemy_livePoints | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public static Texture2D,Microsoft.Xna.Framework.Graphics player_energy | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |