C# Class Category5.XmlSettingsFile

Class which loads in configuration data for all parts of the game
Afficher le fichier Open project: AnyKey/tojam4

Méthodes publiques

Méthode Description
LoadConfiguration ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
getLevelConfig ( int levelNum ) : LevelConfig
getMegaTileType ( int typeNum ) : MegaTileType
getVictimTypeByName ( string name ) : VictimConfig

Private Methods

Méthode Description
ReadAnimation ( XmlTextReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : Animation
ReadLevel ( XmlTextReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : void
ReadMegaTileType ( XmlTextReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : void
ReadMegaTileVictimConfig ( XmlTextReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : MegaTileVictimConfig
ReadVictimType ( XmlTextReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : void

Method Details

LoadConfiguration() public static méthode

public static LoadConfiguration ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

getLevelConfig() public static méthode

public static getLevelConfig ( int levelNum ) : LevelConfig
levelNum int
Résultat LevelConfig

getMegaTileType() public static méthode

public static getMegaTileType ( int typeNum ) : MegaTileType
typeNum int
Résultat MegaTileType

getVictimTypeByName() public static méthode

public static getVictimTypeByName ( string name ) : VictimConfig
name string
Résultat VictimConfig