Property | Type | Description | |
---|---|---|---|
Camera | |||
addList | Entity>.Dictionary | ||
removeList | List |
Property | Type | Description | |
---|---|---|---|
dialogueManager | |||
entities | Entity>.Dictionary | ||
levelMap | Map | ||
levelNum | string | ||
levelPlaying | bool | ||
levelStart | bool | ||
nextLevel | string | ||
questCreator | |||
screenRect |
Method | Description | |
---|---|---|
Draw ( |
The Draw function will draw the level itself, as well as any subentities that are a part of the level. Each entity will be in charge of drawing itself, and the level will merely draw the physical level. (Tiles, Sprites, Etc)
|
|
Level ( GraphicsDevice graphicsDevice ) : System |
The constructor for the Level class. Basically doesn't do anything important at this point.
|
|
Load ( string newLevel, string oldLevel, |
Loads the level from a descriptive script file on the harddrive.
|
|
Update ( |
The Update function will run through the level and perform any necessary operations for processing the frame. This includes going through the list of active entities in the level and updating them as well.
|
Method | Description | |
---|---|---|
checkEntities ( List |
Checks the appropriate characteristics for the given entity collision.
|
|
checkObjects ( string entityName, Entity entity, FuncWorks.XNA.XTiled.MapObject obj, |
Checks the appropriate characteristics for the given object collision.
|
|
checkTiles ( string entityName, Entity entity, FuncWorks.XNA.XTiled.TileData tile ) : void |
Checks the appropriate characteristics for the given tile collision.
|
|
detectCollisions ( |
A central function for handling all collisions.
|
public Draw ( |
||
spriteBatch | ||
return | void |
public Level ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | |
return | System |
public Load ( string newLevel, string oldLevel, |
||
newLevel | string | |
oldLevel | string | |
gameReference | ||
return | void |
public Update ( |
||
gameTime | ||
gameReference | ||
return | void |
protected DialogueManager,PantheonPrototype dialogueManager | ||
return |
protected QuestCreator,PantheonPrototype questCreator | ||
return |