C# Class MyPolarBear.GameScreens.GameScreen

Inheritance: Screen
ファイルを表示 Open project: sgdc/sgdc-old Class Usage Examples

Public Properties

Property Type Description
CurWorldHealth int
MaxAnimals int
MaxWorldHealth int
NumAnimals int
NumEnemies int

Public Methods

Method Description
DrawGame ( SpriteBatch spriteBatch ) : void
GameScreen ( ScreenType screenType ) : System
LoadContent ( ) : void
Reset ( ) : void
Update ( GameTime gameTime ) : void

Method Details

DrawGame() public method

public DrawGame ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GameScreen() public method

public GameScreen ( ScreenType screenType ) : System
screenType ScreenType
return System

LoadContent() public method

public LoadContent ( ) : void
return void

Reset() public static method

public static Reset ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

CurWorldHealth public_oe static_oe property

public static int CurWorldHealth
return int

MaxAnimals public_oe static_oe property

public static int MaxAnimals
return int

MaxWorldHealth public_oe static_oe property

public static int MaxWorldHealth
return int

NumAnimals public_oe static_oe property

public static int NumAnimals
return int

NumEnemies public_oe static_oe property

public static int NumEnemies
return int