Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.ScreenManager Class Reference
Collaboration diagram for Resonance.ScreenManager:

List of all members.

Public Member Functions

 ScreenManager (ResonanceGame game)
override void Initialize ()
override void Update (GameTime gameTime)
override void Draw (GameTime gameTime)
void addScreen (Screen screen)
void removeScreen (Screen screen)
Screen[] getScreens ()
void darkenBackground (float alpha)

Static Public Member Functions

static int pixelsX (int input)
 Converts X pixel values from HD resolution to the current resolution which may not be HD.
static int pixelsY (int input)
 Converts Y pixel values from HD resolution to the current resolution which may not be HD.

Static Public Attributes

static GameScreen game
static PauseMenu pauseMenu
static DebugMenu debugMenu
static MainMenu mainMenu
static SettingsMenu settingsMenu
static InGameSettingsMenu inGameSettings

Protected Member Functions

override void LoadContent ()

Properties

SpriteBatch SpriteBatch [get]
ContentManager Content [get]
static int ScreenWidth [get]
static int ScreenHeight [get]
static double HeightRatio [get]
static double WidthRatio [get]

Constructor & Destructor Documentation


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

override void Resonance.ScreenManager.Draw ( GameTime  gameTime)
override void Resonance.ScreenManager.LoadContent ( ) [protected]

Here is the call graph for this function:

static int Resonance.ScreenManager.pixelsX ( int  input) [static]

Converts X pixel values from HD resolution to the current resolution which may not be HD.

Parameters:
inputX HD coordinate
Returns:
True coordinate

Here is the caller graph for this function:

static int Resonance.ScreenManager.pixelsY ( int  input) [static]

Converts Y pixel values from HD resolution to the current resolution which may not be HD.

Parameters:
inputY HD coordinate
Returns:
True coordinate

Here is the caller graph for this function:

Here is the caller graph for this function:

override void Resonance.ScreenManager.Update ( GameTime  gameTime)

Here is the call graph for this function:


Member Data Documentation


Property Documentation

ContentManager Resonance.ScreenManager.Content [get]
double Resonance.ScreenManager.WidthRatio [static, get]

The documentation for this class was generated from the following file: