C# Class BulletMan.MainScreen

Inheritance: Screen
Exibir arquivo 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

Update method

Private Methods

Method Description
CreateBulletMan ( Vector2 offset ) : void

Create ragdoll

CreateCanyon ( Vector2 offset ) : void

Create component canyon

CreateCastle ( Vector2 offset ) : void

Create clowns castle

Reset ( ) : void

Initialize game

breset_Released ( Component source ) : void

Reset released button

s_Canyon_Pressed ( Component source ) : void

Pressed canyon fire button

s_Canyon_Released ( Component source ) : void

Release canyon fire button

slOrientation_ValueChangeEvent ( Component source ) : void

Move the canyon

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

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