C# Class ProjectCow.MenuScreen

Inheritance: IScreen
Exibir arquivo Open project: csce3513/Team12 Class Usage Examples

Public Properties

Property Type Description
Position Vector2
picture int

Public Methods

Method Description
Draw ( SpriteBatch theSpriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
MenuScreen ( ) : System
ProcessInputs ( ) : void
Restart ( ) : void
Update ( GameTime gameTime ) : void
getPicture ( ) : int
setInstructionMenu ( ) : void
setMainMenu ( ) : void

Method Details

Draw() public method

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

LoadContent() public method

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

MenuScreen() public method

public MenuScreen ( ) : System
return System

ProcessInputs() public method

public ProcessInputs ( ) : void
return void

Restart() public method

public Restart ( ) : void
return void

Update() public method

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

getPicture() public method

public getPicture ( ) : int
return int

setInstructionMenu() public method

public setInstructionMenu ( ) : void
return void

setMainMenu() public method

public setMainMenu ( ) : void
return void

Property Details

Position public_oe property

public Vector2 Position
return Vector2

picture public_oe property

public int picture
return int