C# Class Category5.XmlSettingsFile

Class which loads in configuration data for all parts of the game
Show file Open project: AnyKey/tojam4

Public Methods

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

Private Methods

Method 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 method

public static LoadConfiguration ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

getLevelConfig() public static method

public static getLevelConfig ( int levelNum ) : LevelConfig
levelNum int
return LevelConfig

getMegaTileType() public static method

public static getMegaTileType ( int typeNum ) : MegaTileType
typeNum int
return MegaTileType

getVictimTypeByName() public static method

public static getVictimTypeByName ( string name ) : VictimConfig
name string
return VictimConfig