C# 클래스 Gears.Navigation.MenuState

상속: Gears.Cloud.GameState
파일 보기 프로젝트 열기: spectrumbranch/gearsvge

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
MenuState ( Menu menu ) : System.Collections.Generic
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
DrawMenu ( SpriteBatch spriteBatch ) : void

Contains abstract Draw logic for the Menu.

비공개 메소드들

메소드 설명
ActivateState ( ) : void

Contains logic that should be fired every time the state becomes active. This should fire especially in cases where the state had become inactive and then regains activity once again.

InactivateState ( ) : void

Contains logic that should be fired every time the state becomes inactive. This was originally implemented to avoid function pointers AKA delegates from firing out of the Master.stack order.

InitializeLocal ( ) : void
KeyDown ( KeyboardState &currentKeyboardState, KeyboardState &oldKeyboardState ) : void

Event based Input hook for MenuState.

PushActiveMenuIndex ( ) : void

Called when a user presses Enter on a specific Menu Item.

메소드 상세

Draw() 공개 메소드

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

DrawMenu() 보호된 메소드

Contains abstract Draw logic for the Menu.
protected DrawMenu ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The SpriteBatch
리턴 void

MenuState() 공개 메소드

public MenuState ( Menu menu ) : System.Collections.Generic
menu Menu
리턴 System.Collections.Generic

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime GameTime
리턴 void