C# Класс MyGame.LevelScreen

This class represent the Level Screen that is displayed at the beginning of each level showing the level number and waiting on input from the user to start the actual level.
Наследование: Screen
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( GameTime gameTime ) : void

This method renders the current state.

LevelScreen ( MyGame game ) : System
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

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

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

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
Результат void

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

public LevelScreen ( MyGame game ) : System
game MyGame
Результат System

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

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Результат void