C# Класс BulletMan.MainScreen

Наследование: Screen
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BackButtonPressed() публичный Метод

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
Результат void

Initialize() публичный Метод

Sets the screen up (UI components, multimedia content, etc.)
public Initialize ( ) : void
Результат void

Update() публичный Метод

Update method
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void