C# Class TraceRacer.PhoneMenuScreen

Provides a basic base screen for menus on Windows Phone leveraging the Button class.
Inheritance: GameScreen
Afficher le fichier Open project: alexcoco/trace_racer

Méthodes publiques

Méthode Description
Activate ( bool instancePreserved ) : void
Draw ( GameTime gameTime ) : void
HandleInput ( GameTime gameTime, InputState input ) : void
PhoneMenuScreen ( string title ) : System

Creates the PhoneMenuScreen with a particular title.

Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

Méthodes protégées

Méthode Description
OnCancel ( ) : void

An overrideable method called whenever the menuCancel action is triggered

Method Details

Activate() public méthode

public Activate ( bool instancePreserved ) : void
instancePreserved bool
Résultat void

Draw() public méthode

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

HandleInput() public méthode

public HandleInput ( GameTime gameTime, InputState input ) : void
gameTime Microsoft.Xna.Framework.GameTime
input InputState
Résultat void

OnCancel() protected méthode

An overrideable method called whenever the menuCancel action is triggered
protected OnCancel ( ) : void
Résultat void

PhoneMenuScreen() public méthode

Creates the PhoneMenuScreen with a particular title.
public PhoneMenuScreen ( string title ) : System
title string The title of the screen
Résultat System

Update() public méthode

public Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void
gameTime Microsoft.Xna.Framework.GameTime
otherScreenHasFocus bool
coveredByOtherScreen bool
Résultat void