C# Class ZombieShooter.Game

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: Spectrewiz/Zombie-Shooter Class Usage Examples

Méthodes publiques

Свойство Type Description
camera Camera
cursor Obj
graphics GraphicsDeviceManager
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
stage Microsoft.Xna.Framework.Rectangle
t Thread[]

Protected Properties

Свойство Type Description
gameState GameState

Méthodes publiques

Méthode Description
Game ( ) : System
getCameraPosition ( ) : Vector2
getCursorPosition ( ) : Vector2
getGameState ( ) : GameState
switchGameState ( GameState newGameState ) : void
switchGameState ( int index ) : void

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() protected méthode

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Game() public méthode

public Game ( ) : System
Résultat System

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

UnloadContent() protected méthode

protected UnloadContent ( ) : void
Résultat void

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

getCameraPosition() public static méthode

public static getCameraPosition ( ) : Vector2
Résultat Vector2

getCursorPosition() public static méthode

public static getCursorPosition ( ) : Vector2
Résultat Vector2

getGameState() public static méthode

public static getGameState ( ) : GameState
Résultat GameState

switchGameState() public static méthode

public static switchGameState ( GameState newGameState ) : void
newGameState GameState
Résultat void

switchGameState() public static méthode

public static switchGameState ( int index ) : void
index int
Résultat void

Property Details

camera public_oe static_oe property

public static Camera,ZombieShooter camera
Résultat Camera

cursor public_oe static_oe property

public static Obj,ZombieShooter cursor
Résultat Obj

gameState protected_oe static_oe property

protected static GameState gameState
Résultat GameState

graphics public_oe static_oe property

public static GraphicsDeviceManager graphics
Résultat GraphicsDeviceManager

spriteFont public_oe static_oe property

public static SpriteFont,Microsoft.Xna.Framework.Graphics spriteFont
Résultat Microsoft.Xna.Framework.Graphics.SpriteFont

stage public_oe static_oe property

public static Rectangle,Microsoft.Xna.Framework stage
Résultat Microsoft.Xna.Framework.Rectangle

t public_oe static_oe property

public static Thread[] t
Résultat Thread[]