C# 클래스 Swordening.InMenus

상속: GameState
파일 보기 프로젝트 열기: ArghyV/Peliohjelmointi-s2011 1 사용 예제들

공개 메소드들

메소드 설명
InMenus ( SwordeningGame game ) : System
Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Update ( GameTime gameTime ) : void

Allows the game component to update itself.

보호된 메소드들

메소드 설명
ProcessKeyboardInput ( GameTime gameTime ) : void

Handles keyboard input common to every menu.

ProcessMouseInput ( GameTime gameTime ) : void

Handles mouse input common to every menu.

비공개 메소드들

메소드 설명
SetCurrentMenu ( ) : void

Adds the current menu to the component collection.

SwitchToMenu ( Menus menu ) : void

메소드 상세

InMenus() 공개 메소드

public InMenus ( SwordeningGame game ) : System
game SwordeningGame
리턴 System

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

ProcessKeyboardInput() 보호된 메소드

Handles keyboard input common to every menu.
protected ProcessKeyboardInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

ProcessMouseInput() 보호된 메소드

Handles mouse input common to every menu.
protected ProcessMouseInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void