C# 클래스 CrisisAtSwissStation.MenuEngine

파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentScreen MenuScreen

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void

Load content for menu screens

MenuEngine ( ) : System

NextMenu ( ) : void
Reset ( ) : void
ReturnAndResetCommand ( MenuCommand forcedCommand = MenuCommand.NONE ) : MenuCommand

Returns command to main game loop and resets this menu's command to prevent getting stuck in an infinite loop.

Update ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

LoadContent() 공개 메소드

Load content for menu screens
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

MenuEngine() 공개 메소드

public MenuEngine ( ) : System
리턴 System

NextMenu() 공개 메소드

public NextMenu ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ReturnAndResetCommand() 공개 메소드

Returns command to main game loop and resets this menu's command to prevent getting stuck in an infinite loop.
public ReturnAndResetCommand ( MenuCommand forcedCommand = MenuCommand.NONE ) : MenuCommand
forcedCommand MenuCommand
리턴 MenuCommand

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

currentScreen 공개적으로 프로퍼티

Current screen viewed by user
public MenuScreen,CrisisAtSwissStation currentScreen
리턴 MenuScreen