C# 클래스 SunsetHigh.Room

파일 보기 프로젝트 열기: ErraticUnicorn/MOSH

공개 프로퍼티들

프로퍼티 타입 설명
NUM_PLACE_IDS int
background TiledPipelineExtensions.Map

공개 메소드들

메소드 설명
Room ( ) : System
addObject ( object o ) : void
clearLists ( ) : void
dequeueObject ( object o ) : void

Removes the object of from any lists it is in

draw ( SpriteBatch sb ) : void
enqueueObject ( object o ) : void

Adds the object o to any appropriate lists if it is an instance of Sprite, Character, or IInteractable. Use this method to modify the lists.

loadContent ( Microsoft.Xna.Framework.Content.ContentManager content, String filename ) : void
onEnter ( ) : void
onExit ( ) : void
removeObject ( object o ) : void
update ( float elapsed ) : void
updateState ( ) : void

보호된 메소드들

메소드 설명
clearProjectiles ( ) : void

비공개 메소드들

메소드 설명
drainSinks ( ) : void

메소드 상세

Room() 공개 메소드

public Room ( ) : System
리턴 System

addObject() 공개 메소드

public addObject ( object o ) : void
o object
리턴 void

clearLists() 공개 메소드

public clearLists ( ) : void
리턴 void

clearProjectiles() 보호된 메소드

protected clearProjectiles ( ) : void
리턴 void

dequeueObject() 공개 메소드

Removes the object of from any lists it is in
public dequeueObject ( object o ) : void
o object
리턴 void

draw() 공개 메소드

public draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

enqueueObject() 공개 메소드

Adds the object o to any appropriate lists if it is an instance of Sprite, Character, or IInteractable. Use this method to modify the lists.
public enqueueObject ( object o ) : void
o object The object this room contains.
리턴 void

loadContent() 공개 메소드

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content, String filename ) : void
content Microsoft.Xna.Framework.Content.ContentManager
filename String
리턴 void

onEnter() 공개 메소드

public onEnter ( ) : void
리턴 void

onExit() 공개 메소드

public onExit ( ) : void
리턴 void

removeObject() 공개 메소드

public removeObject ( object o ) : void
o object
리턴 void

update() 공개 메소드

public update ( float elapsed ) : void
elapsed float
리턴 void

updateState() 공개 메소드

public updateState ( ) : void
리턴 void

프로퍼티 상세

NUM_PLACE_IDS 공개적으로 정적으로 프로퍼티

public static int NUM_PLACE_IDS
리턴 int

background 공개적으로 프로퍼티

public Map,TiledPipelineExtensions background
리턴 TiledPipelineExtensions.Map