C# Class SmashBros.Controllers.OverlayMenuController

Inheritance: Controller
Afficher le fichier Open project: Grutn/TDT4240-X2 Class Usage Examples

Méthodes publiques

Свойство Type Description
Disabled bool

Méthodes publiques

Méthode Description
Deactivate ( ) : void
DisableCursor ( int playerIndex ) : void
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
OnNext ( GameStateManager value ) : void
OverlayMenuController ( ScreenManager screen ) : System
Unload ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
OnAnimationDone ( ImageController img, ImageModel pos ) : void
OnCursorClick ( int playerIndex, object targetData, CursorModel cursor, bool selectKey ) : void
OnCursorCollision ( int playerIndex, object targetData, CursorModel cursor ) : void
OnCursorSeparation ( int playerIndex, object targetData, CursorModel cursor ) : void
ShowGamePauseMenu ( ) : void
ShowHelpMenu ( ) : void
ShowOptionsMenu ( ) : void
UpdateAccordingToState ( ) : void

Updates the menu according to which stat it is in

UpdateEntry ( object meny, bool select ) : void
closeMenuBox ( int i ) : void
createGamePauseMenu ( SpriteFont font ) : void
createHelpMenu ( SpriteFont font ) : void

Create the help menu is clicked on

createOptionsMenu ( SpriteFont font ) : void
exitGame ( int index ) : void

Runs when a exit game button is clicked

gameMenuClick ( int index ) : void

Runs when game menu is clicked on

helpMenuClick ( int index ) : void

Runs when help menu is clicked on Pints the playser controller

helpMenuShow ( int index ) : void

Runs when back button in help is clicked on Prints the first help menu

optionsMenuClick ( int index ) : void

Runs when options menu is clicked on

Method Details

Deactivate() public méthode

public Deactivate ( ) : void
Résultat void

DisableCursor() public méthode

public DisableCursor ( int playerIndex ) : void
playerIndex int
Résultat void

Load() public méthode

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

OnNext() public méthode

public OnNext ( GameStateManager value ) : void
value GameStateManager
Résultat void

OverlayMenuController() public méthode

public OverlayMenuController ( ScreenManager screen ) : System
screen SmashBros.MySystem.ScreenManager
Résultat System

Unload() public méthode

public Unload ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

Disabled public_oe property

public bool Disabled
Résultat bool