C# 클래스 TraceRacer.PhoneMenuScreen

Provides a basic base screen for menus on Windows Phone leveraging the Button class.
상속: GameScreen
파일 보기 프로젝트 열기: alexcoco/trace_racer

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnCancel ( ) : void

An overrideable method called whenever the menuCancel action is triggered

메소드 상세

Activate() 공개 메소드

public Activate ( bool instancePreserved ) : void
instancePreserved bool
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

HandleInput() 공개 메소드

public HandleInput ( GameTime gameTime, InputState input ) : void
gameTime Microsoft.Xna.Framework.GameTime
input InputState
리턴 void

OnCancel() 보호된 메소드

An overrideable method called whenever the menuCancel action is triggered
protected OnCancel ( ) : void
리턴 void

PhoneMenuScreen() 공개 메소드

Creates the PhoneMenuScreen with a particular title.
public PhoneMenuScreen ( string title ) : System
title string The title of the screen
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void
gameTime Microsoft.Xna.Framework.GameTime
otherScreenHasFocus bool
coveredByOtherScreen bool
리턴 void