C# Class RaceGame.Menu.Menu

Inheritance: IMenu
Afficher le fichier Open project: cjohnsson/Racing-Game Class Usage Examples

Protected Properties

Свойство Type Description
Credits string
Description string
MenuItems RaceGame.Menu.MenuItem[]
RolloverUtility RolloverUtility
instructionsPositionX int
instructionsPositionY int

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
ScrollDown ( ) : void
ScrollUp ( ) : void

Méthodes protégées

Méthode Description
Initilize ( ) : void
Menu ( ) : System.Collections.Generic
Menu ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, SpriteFont font ) : System.Collections.Generic

Private Methods

Méthode Description
MakePositions ( int xPosition, int yPosition ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Initilize() protected abstract méthode

protected abstract Initilize ( ) : void
Résultat void

Menu() protected méthode

protected Menu ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Menu() protected méthode

protected Menu ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, SpriteFont font ) : System.Collections.Generic
backgroundImage Microsoft.Xna.Framework.Graphics.Texture2D
font Microsoft.Xna.Framework.Graphics.SpriteFont
Résultat System.Collections.Generic

ScrollDown() public méthode

public ScrollDown ( ) : void
Résultat void

ScrollUp() public méthode

public ScrollUp ( ) : void
Résultat void

Property Details

Credits protected_oe property

protected string Credits
Résultat string

Description protected_oe property

protected string Description
Résultat string

MenuItems protected_oe property

protected MenuItem[],RaceGame.Menu MenuItems
Résultat RaceGame.Menu.MenuItem[]

RolloverUtility protected_oe property

protected RolloverUtility,RaceGame.Menu RolloverUtility
Résultat RolloverUtility

instructionsPositionX protected_oe property

protected int instructionsPositionX
Résultat int

instructionsPositionY protected_oe property

protected int instructionsPositionY
Résultat int