C# 클래스 UHSampleGame.MenuSystem.MenuScreen

상속: UHSampleGame.ScreenManagement.Screen
파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project 1 사용 예제들

공개 메소드들

메소드 설명
AddMenuEntry ( MenuEntry menuEntry ) : void
Draw ( GameTime gameTime ) : void

Draws the menu.

HandleInput ( ) : void
HandleInput ( InputManager input ) : void
LoadContent ( ) : void
MenuScreen ( string menuTitle ) : System
Reload ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
OnCancel ( ) : void

Handler for when the user has cancelled the menu.

OnCancel ( object sender, EventArgs e ) : void

Helper overload makes it easy to use OnCancel as a MenuEntry event handler.

OnSelectEntry ( int entryIndex ) : void

Handler for when the user has chosen a menu entry.

메소드 상세

AddMenuEntry() 공개 메소드

public AddMenuEntry ( MenuEntry menuEntry ) : void
menuEntry MenuEntry
리턴 void

Draw() 공개 메소드

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

HandleInput() 공개 메소드

public HandleInput ( ) : void
리턴 void

HandleInput() 공개 메소드

public HandleInput ( InputManager input ) : void
input UHSampleGame.InputManagement.InputManager
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

MenuScreen() 공개 메소드

public MenuScreen ( string menuTitle ) : System
menuTitle string
리턴 System

OnCancel() 보호된 메소드

Handler for when the user has cancelled the menu.
protected OnCancel ( ) : void
리턴 void

OnCancel() 보호된 메소드

Helper overload makes it easy to use OnCancel as a MenuEntry event handler.
protected OnCancel ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnSelectEntry() 보호된 메소드

Handler for when the user has chosen a menu entry.
protected OnSelectEntry ( int entryIndex ) : void
entryIndex int
리턴 void

Reload() 공개 메소드

public Reload ( ) : void
리턴 void

UnloadContent() 공개 메소드

public UnloadContent ( ) : void
리턴 void

Update() 공개 메소드

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