C# Class SunsetHigh.WorldManager

Mostra file Open project: ErraticUnicorn/MOSH

Public Methods

Method Description
addObjectToRoom ( IInteractable p_obj, PlaceID p_room ) : void
clearMaps ( ) : void
dequeueObjectToCurrentRoom ( IInteractable p_obj ) : void
drawMap ( SpriteBatch p_spriteBatch ) : void
enqueueObjectToCurrentRoom ( IInteractable p_obj ) : void
getRoom ( PlaceID p_roomName ) : Room
handleWarp ( Hero p_hero ) : void
init ( GraphicsDevice graphicsDevice, double scaleFactor ) : void
loadMaps ( Microsoft.Xna.Framework.Content.ContentManager p_content ) : void
removeObjectFromRoom ( IInteractable p_obj, PlaceID p_room ) : void
setRoom ( PlaceID p_roomName ) : void
setRoom ( PlaceID p_roomName, int p_newX, int p_newY, Direction p_newDirection ) : void
setRoomNoTransition ( PlaceID p_roomName ) : void
setRoomNoTransition ( PlaceID p_roomName, int p_newX, int p_newY, Direction p_newDirection ) : void
update ( float elapsed ) : void
updateCameraOffset ( Hero p_hero ) : void

Method Details

addObjectToRoom() public static method

public static addObjectToRoom ( IInteractable p_obj, PlaceID p_room ) : void
p_obj IInteractable
p_room PlaceID
return void

clearMaps() public static method

public static clearMaps ( ) : void
return void

dequeueObjectToCurrentRoom() public static method

public static dequeueObjectToCurrentRoom ( IInteractable p_obj ) : void
p_obj IInteractable
return void

drawMap() public static method

public static drawMap ( SpriteBatch p_spriteBatch ) : void
p_spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

enqueueObjectToCurrentRoom() public static method

public static enqueueObjectToCurrentRoom ( IInteractable p_obj ) : void
p_obj IInteractable
return void

getRoom() public static method

public static getRoom ( PlaceID p_roomName ) : Room
p_roomName PlaceID
return Room

handleWarp() public static method

public static handleWarp ( Hero p_hero ) : void
p_hero Hero
return void

init() public static method

public static init ( GraphicsDevice graphicsDevice, double scaleFactor ) : void
graphicsDevice GraphicsDevice
scaleFactor double
return void

loadMaps() public static method

public static loadMaps ( Microsoft.Xna.Framework.Content.ContentManager p_content ) : void
p_content Microsoft.Xna.Framework.Content.ContentManager
return void

removeObjectFromRoom() public static method

public static removeObjectFromRoom ( IInteractable p_obj, PlaceID p_room ) : void
p_obj IInteractable
p_room PlaceID
return void

setRoom() public static method

public static setRoom ( PlaceID p_roomName ) : void
p_roomName PlaceID
return void

setRoom() public static method

public static setRoom ( PlaceID p_roomName, int p_newX, int p_newY, Direction p_newDirection ) : void
p_roomName PlaceID
p_newX int
p_newY int
p_newDirection Direction
return void

setRoomNoTransition() public static method

public static setRoomNoTransition ( PlaceID p_roomName ) : void
p_roomName PlaceID
return void

setRoomNoTransition() public static method

public static setRoomNoTransition ( PlaceID p_roomName, int p_newX, int p_newY, Direction p_newDirection ) : void
p_roomName PlaceID
p_newX int
p_newY int
p_newDirection Direction
return void

update() public static method

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

updateCameraOffset() public static method

public static updateCameraOffset ( Hero p_hero ) : void
p_hero Hero
return void