C# Класс ThreadedPlatformer.PlatformerGame

This is the main type for your game
Наследование: Squared.Render.MultithreadedGame
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( GameTime gameTime, Frame frame ) : void
PlatformerGame ( ) : System

Защищенные методы

Метод Описание
LoadContent ( ) : void

LoadContent will be called once per game and is the place to load all of your content.

Update ( GameTime gameTime ) : void

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

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

Метод Описание
DrawHud ( Frame frame ) : void
HandleInput ( ) : void
LoadNextLevel ( ) : void
ReloadCurrentLevel ( ) : void

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

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

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

LoadContent() защищенный Метод

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
Результат void

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

public PlatformerGame ( ) : System
Результат System

Update() защищенный Метод

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Результат void