C# Class MoodSwingGame.MSMoodManager

Inheritance: Microsoft.Xna.Framework.GameComponent
Show file Open project: verngutz/MoodSwing Class Usage Examples

Public Properties

Property Type Description
instance MSMoodManager

Public Methods

Method Description
AddMDGScore ( MSMilleniumDevelopmentGoal mdg ) : void
GetInstance ( ) : MSMoodManager
Reset ( ) : void
TakeDamage ( ) : void
TakeHealth ( ) : void
Update ( GameTime gameTime ) : void
load ( StreamReader sr ) : void
toString ( ) : String

Private Methods

Method Description
AddScore ( float &score_variable, bool &score_enabled, MSMDGProgressBar &bar ) : void
MSMoodManager ( ) : System

Method Details

AddMDGScore() public method

public AddMDGScore ( MSMilleniumDevelopmentGoal mdg ) : void
mdg MSMilleniumDevelopmentGoal
return void

GetInstance() public static method

public static GetInstance ( ) : MSMoodManager
return MSMoodManager

Reset() public static method

public static Reset ( ) : void
return void

TakeDamage() public method

public TakeDamage ( ) : void
return void

TakeHealth() public method

public TakeHealth ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

load() public method

public load ( StreamReader sr ) : void
sr System.IO.StreamReader
return void

toString() public method

public toString ( ) : String
return String

Property Details

instance public static property

public static MSMoodManager,MoodSwingGame instance
return MSMoodManager