C# Class ProjectCow.GameScreen

Screen for displaying the main game.
Inheritance: IScreen
Mostra file Open project: csce3513/Team12 Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
GameScreen ( ) : System
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
DetermineBeam ( ) : String
GenerateRandomObjects ( ) : void
OperateTractorBeam ( ) : void

Method Details

Draw() public method

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

GameScreen() public method

public GameScreen ( ) : System
return System

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

Update() public method

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