C# 클래스 SmashBros.Controllers.OverlayMenuController

상속: Controller
파일 보기 프로젝트 열기: Grutn/TDT4240-X2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Disabled bool

공개 메소드들

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

비공개 메소드들

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

메소드 상세

Deactivate() 공개 메소드

public Deactivate ( ) : void
리턴 void

DisableCursor() 공개 메소드

public DisableCursor ( int playerIndex ) : void
playerIndex int
리턴 void

Load() 공개 메소드

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

OnNext() 공개 메소드

public OnNext ( GameStateManager value ) : void
value GameStateManager
리턴 void

OverlayMenuController() 공개 메소드

public OverlayMenuController ( ScreenManager screen ) : System
screen SmashBros.MySystem.ScreenManager
리턴 System

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

Disabled 공개적으로 프로퍼티

public bool Disabled
리턴 bool