C# Класс FarseerPhysics.Samples.ScreenSystem.LogoScreen

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

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

Метод Описание
Draw ( GameTime gameTime ) : void
HandleInput ( InputHelper input, GameTime gameTime ) : void
LoadContent ( ) : void

Loads graphics content for this screen. The background texture is quite big, so we use our own local ContentManager to load it. This allows us to unload before going from the menus into the game itself, wheras if we used the shared ContentManager provided by the Game class, the content would remain loaded forever.

LogoScreen ( System.TimeSpan duration ) : System
UnloadContent ( ) : void

Unloads graphics content for this screen.

Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

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

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

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

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

public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
Результат void

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

Loads graphics content for this screen. The background texture is quite big, so we use our own local ContentManager to load it. This allows us to unload before going from the menus into the game itself, wheras if we used the shared ContentManager provided by the Game class, the content would remain loaded forever.
public LoadContent ( ) : void
Результат void

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

public LogoScreen ( System.TimeSpan duration ) : System
duration System.TimeSpan
Результат System

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

Unloads graphics content for this screen.
public UnloadContent ( ) : void
Результат void

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

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