C# 클래스 Drought.State.GameState

파일 보기 프로젝트 열기: kiniry-teaching/UCD 1 사용 예제들

공개 메소드들

메소드 설명
GameState ( IStateManager manager, DroughtGame game ) : System
background ( ) : void
foreground ( ) : void
getContentManager ( ) : Microsoft.Xna.Framework.Content.ContentManager
getGame ( ) : DroughtGame
getGraphics ( ) : GraphicsDevice
getSpriteBatch ( ) : SpriteBatch
getStateManager ( ) : IStateManager
loadContent ( ) : void
render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
update ( GameTime gameTime ) : void

메소드 상세

GameState() 공개 메소드

public GameState ( IStateManager manager, DroughtGame game ) : System
manager IStateManager
game DroughtGame
리턴 System

background() 공개 추상적인 메소드

public abstract background ( ) : void
리턴 void

foreground() 공개 추상적인 메소드

public abstract foreground ( ) : void
리턴 void

getContentManager() 공개 메소드

public getContentManager ( ) : Microsoft.Xna.Framework.Content.ContentManager
리턴 Microsoft.Xna.Framework.Content.ContentManager

getGame() 공개 메소드

public getGame ( ) : DroughtGame
리턴 DroughtGame

getGraphics() 공개 메소드

public getGraphics ( ) : GraphicsDevice
리턴 GraphicsDevice

getSpriteBatch() 공개 메소드

public getSpriteBatch ( ) : SpriteBatch
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch

getStateManager() 공개 메소드

public getStateManager ( ) : IStateManager
리턴 IStateManager

loadContent() 공개 추상적인 메소드

public abstract loadContent ( ) : void
리턴 void

render() 공개 추상적인 메소드

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

update() 공개 추상적인 메소드

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