C# 클래스 Drought.Menu.MenuState

상속: Drought.State.GameState, IMenuListener
파일 보기 프로젝트 열기: kiniry-teaching/UCD 1 사용 예제들

공개 메소드들

메소드 설명
MenuState ( IStateManager manager, DroughtGame game, int width, int height ) : System
background ( ) : void
foreground ( ) : void
loadContent ( ) : void
menuItemPressed ( MenuItem item ) : void
render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
initialise ( ) : void
makeHostList ( ) : void
makeJoinList ( ) : void
makeLocalList ( ) : void

메소드 상세

MenuState() 공개 메소드

public MenuState ( IStateManager manager, DroughtGame game, int width, int height ) : System
manager IStateManager
game DroughtGame
width int
height int
리턴 System

background() 공개 메소드

public background ( ) : void
리턴 void

foreground() 공개 메소드

public foreground ( ) : void
리턴 void

loadContent() 공개 메소드

public loadContent ( ) : void
리턴 void

menuItemPressed() 공개 메소드

public menuItemPressed ( MenuItem item ) : void
item MenuItem
리턴 void

render() 공개 메소드

public render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphics GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

update() 공개 메소드

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