C# Class Bug.Screens.Abstract.MenuScreen

Inheritance: Screen
Datei anzeigen 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_oe property

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

buttonPressed protected_oe property

protected bool buttonPressed
return bool

buttons protected_oe property

protected List
return List

current protected_oe property

protected int current
return int

input protected_oe property

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