C# 클래스 Sharpex2D.Rendering.Scene.Scene

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Processes a Render.

Initialize ( ) : void

Initializes the scene.

LoadContent ( ContentManager content ) : void

Loads the content.

OnSceneActivated ( ) : void

Called if the scene is activated by SceneManager.

OnSceneDeactivated ( ) : void

Called if the scene is deactivated by SceneManager.

Update ( GameTime gameTime ) : void

Updates the object.

보호된 메소드들

메소드 설명
Scene ( ) : Sharpex2D.Content

Initializes the Scene class.

메소드 상세

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

Processes a Render.
public abstract Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch SpriteBatch The SpriteBatch.
gameTime GameTime The GameTime.
리턴 void

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

Initializes the scene.
public abstract Initialize ( ) : void
리턴 void

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

Loads the content.
public abstract LoadContent ( ContentManager content ) : void
content ContentManager The ContentManager.
리턴 void

OnSceneActivated() 공개 메소드

Called if the scene is activated by SceneManager.
public OnSceneActivated ( ) : void
리턴 void

OnSceneDeactivated() 공개 메소드

Called if the scene is deactivated by SceneManager.
public OnSceneDeactivated ( ) : void
리턴 void

Scene() 보호된 메소드

Initializes the Scene class.
protected Scene ( ) : Sharpex2D.Content
리턴 Sharpex2D.Content

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

Updates the object.
public abstract Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
리턴 void