Method | Description | |
---|---|---|
Export ( ) : System.Xml.Linq.XElement |
Export an XElement of this level choice TODO: change additional XElements for new worldSelect
|
|
LevelChoice ( System.Xml.Linq.XElement levelInfo, IControlScheme controls, Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice graphics ) : System |
|
|
Reset ( bool rUnlock ) : void |
Resets this level choice to unlocked/locked depending on rUnlock, and resets scores to 0.
|
|
SubmitScore ( int timerStar, int collectionStar, int deathStar ) : void |
Submits new scores for the 3 scoring factors for this level, and if the new score is higher than previously recorded it makes note of this. Scores should be between values of 0 and 3.
|
|
Unlock ( ) : void |
|
public LevelChoice ( System.Xml.Linq.XElement levelInfo, IControlScheme controls, Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice graphics ) : System | ||
levelInfo | System.Xml.Linq.XElement | |
controls | IControlScheme | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
graphics | GraphicsDevice | |
return | System |
public Reset ( bool rUnlock ) : void | ||
rUnlock | bool | True if level is locked, false otherwise |
return | void |
public SubmitScore ( int timerStar, int collectionStar, int deathStar ) : void | ||
timerStar | int | High Score for the Timer stars |
collectionStar | int | High Score for the Collection stars |
deathStar | int | High Score for the Death stars |
return | void |