Метод | Описание | |
---|---|---|
GetObjects ( PhysicsEnvironment &environment ) : List |
Goes through all the entities and finds all of the ones that are Static, or physics(Dynamic maybe in the future) Creates and returns them using the data found in the xml file
|
|
GetPlayerEnd ( ) : |
Creates and returns a PlayerEnd using the info that is in the xml file
|
|
GetPlayerStart ( Level level ) : void |
Gets the players start position
|
|
GetRails ( ) : List |
||
GetTriggers ( ) : List |
Gets all the triggers in the level
|
|
GetWalls ( Level level ) : List |
UNUSED FOR NOW. MAY IN THE FUTURE, GATHER ALL THE INFO UP AND MAKE BIGGER BOUNDING BOXES FOR ENTIRE WALLS
|
|
ImportLevel ( Level level ) : Level |
Goes through the xml file and translates the information
|
|
Importer ( Microsoft.Xna.Framework.Content.ContentManager content ) : System |
Constructor for an importer object
|
Метод | Описание | |
---|---|---|
CreateSortedIndicies ( List |
Creates the sorted indicies.
|
public GetObjects ( PhysicsEnvironment &environment ) : List |
||
environment | PhysicsEnvironment | Environment that these items exist in |
Результат | List |
public GetPlayerEnd ( ) : |
||
Результат |
public GetPlayerStart ( Level level ) : void | ||
level | Level | |
Результат | void |
public ImportLevel ( Level level ) : Level | ||
level | Level | |
Результат | Level |
public Importer ( Microsoft.Xna.Framework.Content.ContentManager content ) : System | ||
content | Microsoft.Xna.Framework.Content.ContentManager | Content Manager |
Результат | System |