C# 클래스 LuxEngine.Scene

A generic graphical component that has a parent and children. Components that have hierarchical relations should inherits this class. Inherits from DrawableGameComponent.
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: Louis-Dureuil/maya-vs-the-world 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Position Vector2

보호된 프로퍼티들

프로퍼티 타입 설명
Content Microsoft.Xna.Framework.Content.ContentManager
parent Scene
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
subScenes List

공개 메소드들

메소드 설명
Add ( Scene item ) : void
Destroy ( ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Pause ( Scene sender, EventArgs e ) : void

Pause the game, then fire the Paused event.

Remove ( Scene item ) : void
Scene ( LuxGame game ) : System
Scene ( Scene parent ) : System
Scene_EnabledChanged ( object sender, EventArgs e ) : void
Scene_VisibleChanged ( object sender, EventArgs e ) : void
TooglePause ( Scene sender, EventArgs e ) : void

Toogle the paused state of the scene.

UnPause ( Scene sender, EventArgs e ) : void

unpause the game, then fire the Unpaused event.

Update ( GameTime gameTime ) : void
this ( int index ) : Scene

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Add() 공개 메소드

public Add ( Scene item ) : void
item Scene
리턴 void

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

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

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Pause() 공개 메소드

Pause the game, then fire the Paused event.
public Pause ( Scene sender, EventArgs e ) : void
sender Scene
e System.EventArgs
리턴 void

Remove() 공개 메소드

public Remove ( Scene item ) : void
item Scene
리턴 void

Scene() 공개 메소드

public Scene ( LuxGame game ) : System
game LuxGame
리턴 System

Scene() 공개 메소드

public Scene ( Scene parent ) : System
parent Scene
리턴 System

Scene_EnabledChanged() 공개 메소드

public Scene_EnabledChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

Scene_VisibleChanged() 공개 메소드

public Scene_VisibleChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

TooglePause() 공개 메소드

Toogle the paused state of the scene.
public TooglePause ( Scene sender, EventArgs e ) : void
sender Scene
e System.EventArgs
리턴 void

UnPause() 공개 메소드

unpause the game, then fire the Unpaused event.
public UnPause ( Scene sender, EventArgs e ) : void
sender Scene
e System.EventArgs
리턴 void

Update() 공개 메소드

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

this() 공개 메소드

public this ( int index ) : Scene
index int
리턴 Scene

프로퍼티 상세

Content 보호되어 있는 프로퍼티

protected ContentManager,Microsoft.Xna.Framework.Content Content
리턴 Microsoft.Xna.Framework.Content.ContentManager

Position 공개적으로 프로퍼티

public Vector2 Position
리턴 Vector2

parent 보호되어 있는 프로퍼티

protected Scene,LuxEngine parent
리턴 Scene

spriteFont 보호되어 있는 프로퍼티

protected SpriteFont,Microsoft.Xna.Framework.Graphics spriteFont
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

subScenes 보호되어 있는 프로퍼티

protected List subScenes
리턴 List