Свойство | Тип | Описание | |
---|---|---|---|
Camera | |||
addList | Entity>.Dictionary | ||
removeList | List |
Свойство | Тип | Описание | |
---|---|---|---|
dialogueManager | |||
entities | Entity>.Dictionary | ||
levelMap | Map | ||
levelNum | string | ||
levelPlaying | bool | ||
levelStart | bool | ||
nextLevel | string | ||
questCreator | |||
screenRect |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public Level ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | |
Результат | System |
public Load ( string newLevel, string oldLevel, |
||
newLevel | string | |
oldLevel | string | |
gameReference | ||
Результат | void |
public Update ( |
||
gameTime | ||
gameReference | ||
Результат | void |
protected DialogueManager,PantheonPrototype dialogueManager | ||
Результат |
protected QuestCreator,PantheonPrototype questCreator | ||
Результат |