C# Class GamePad.MainScreen

Inheritance: Screen
Show file Open project: Syderis/CellSDK-Samples

Public Methods

Method Description
BackButtonPressed ( ) : void

Pops this screen returning to the previous one, or exiting the app if there is no more left. This method is called when the hardware back button is pressed (only Windows Phone & Android)

Initialize ( ) : void

Sets the screen up (UI components, multimedia content, etc.)

Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddComponentPercentage ( Component c, float x, float y ) : void

Adds a component at a relative position expressed on percentages from the top-left corner of the screen

Method Details

BackButtonPressed() public method

Pops this screen returning to the previous one, or exiting the app if there is no more left. This method is called when the hardware back button is pressed (only Windows Phone & Android)
public BackButtonPressed ( ) : void
return void

Initialize() public method

Sets the screen up (UI components, multimedia content, etc.)
public Initialize ( ) : void
return void

Update() public method

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