C# Class Bug.Screens.Abstract.MenuScreen

Inheritance: Screen
Show file Open project: Projectfights/Fight-insect

Protected Properties

Property Type Description
bg Bug.Display.UiElement
buttonPressed bool
buttons List
current int
input Bug.GameObjects.FighterInput

Public Methods

Method Description
Draw ( GameTime gameTime, SpriteBatch batch ) : void
MenuScreen ( int widthScreen, int heightScreen, IScreenMaster master ) : Bug.Display
Update ( GameTime gameTime ) : void

Private Methods

Method Description
UpdateButton ( Button button, bool sel ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch batch ) : void
gameTime Microsoft.Xna.Framework.GameTime
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

MenuScreen() public method

public MenuScreen ( int widthScreen, int heightScreen, IScreenMaster master ) : Bug.Display
widthScreen int
heightScreen int
master IScreenMaster
return Bug.Display

Update() public method

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

Property Details

bg protected property

protected UiElement,Bug.Display bg
return Bug.Display.UiElement

buttonPressed protected property

protected bool buttonPressed
return bool

buttons protected property

protected List
return List

current protected property

protected int current
return int

input protected property

protected FighterInput,Bug.GameObjects input
return Bug.GameObjects.FighterInput