C# Class MoodSwingGUI.MSScreen

MSScreen is an MSPanel that covers the entire computer screen.
Inheritance: MSFacadePanel
Datei anzeigen Open project: verngutz/MoodSwing Class Usage Examples

Public Methods

Method Description
MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, Color highlight, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Creates an MSScreen with the given parameters

MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Creates an MSScreen with the given parameters

MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, float topPadding, float bottomPadding, float leftPadding, float rightPadding, Color highlight, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Creates an MSScreen with the given parameters

MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, float topPadding, float bottomPadding, float leftPadding, float rightPadding, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Creates an MSScreen with the given parameters

Method Details

MSScreen() public method

Creates an MSScreen with the given parameters
public MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, Color highlight, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D the background texture of this MSScreen
highlight Color the Color to overlay this MSScreen with
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSScreen
game Microsoft.Xna.Framework.Game the Game where this MSScreen will be used
return System

MSScreen() public method

Creates an MSScreen with the given parameters
public MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D the background texture of this MSScreen
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSScreen
game Microsoft.Xna.Framework.Game the Game where this MSScreen will be used
return System

MSScreen() public method

Creates an MSScreen with the given parameters
public MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, float topPadding, float bottomPadding, float leftPadding, float rightPadding, Color highlight, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D the background texture of this MSScreen
topPadding float the padding (or margin) on the top portion of this MSScreen, in pixels
bottomPadding float the padding (or margin) on the bottom portion of this MSScreen, in pixels
leftPadding float the padding(or margin) on the left portion of this MSScreen, in pixels
rightPadding float the padding (or margin) on the right portion of this MSScreen, in pixels
highlight Color the Color to overlay this MSScreen with
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSScreen
game Microsoft.Xna.Framework.Game the Game where this MSScreen will be used
return System

MSScreen() public method

Creates an MSScreen with the given parameters
public MSScreen ( Microsoft.Xna.Framework.Graphics.Texture2D background, float topPadding, float bottomPadding, float leftPadding, float rightPadding, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D the background texture of this MSScreen
topPadding float the padding (or margin) on the top portion of this MSScreen, in pixels
bottomPadding float the padding (or margin) on the bottom portion of this MSScreen, in pixels
leftPadding float the padding(or margin) on the left portion of this MSScreen, in pixels
rightPadding float the padding (or margin) on the right portion of this MSScreen, in pixels
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSScreen
game Microsoft.Xna.Framework.Game the Game where this MSScreen will be used
return System