C# Class SunsetHigh.Room

ファイルを表示 Open project: ErraticUnicorn/MOSH

Public Properties

Property Type Description
NUM_PLACE_IDS int
background TiledPipelineExtensions.Map

Public Methods

Method Description
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

Protected Methods

Method Description
clearProjectiles ( ) : void

Private Methods

Method Description
drainSinks ( ) : void

Method Details

Room() public method

public Room ( ) : System
return System

addObject() public method

public addObject ( object o ) : void
o object
return void

clearLists() public method

public clearLists ( ) : void
return void

clearProjectiles() protected method

protected clearProjectiles ( ) : void
return void

dequeueObject() public method

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

draw() public method

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

enqueueObject() public method

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.
return void

loadContent() public method

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

onEnter() public method

public onEnter ( ) : void
return void

onExit() public method

public onExit ( ) : void
return void

removeObject() public method

public removeObject ( object o ) : void
o object
return void

update() public method

public update ( float elapsed ) : void
elapsed float
return void

updateState() public method

public updateState ( ) : void
return void

Property Details

NUM_PLACE_IDS public_oe static_oe property

public static int NUM_PLACE_IDS
return int

background public_oe property

public Map,TiledPipelineExtensions background
return TiledPipelineExtensions.Map