C# Класс Project290.Screens.Title.GameInfoDisplayElement

This class is used for displaying a single game info from the title screen.
Показать файл Открыть проект

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

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

Draws this instance.

GameInfoDisplayElement ( GameInfo gameInfo, Screen screen ) : System

Initializes a new instance of the GameInfoDisplayElement class.

GetShiftAmount ( int amount ) : int

Gets the shift amount.

Update ( ) : void

Updates this instance.

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

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

Draws this instance.
public Draw ( ) : void
Результат void

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

Initializes a new instance of the GameInfoDisplayElement class.
public GameInfoDisplayElement ( GameInfo gameInfo, Screen screen ) : System
gameInfo GameInfo The game info.
screen Screen The screen.
Результат System

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

Gets the shift amount.
public GetShiftAmount ( int amount ) : int
amount int The amount of shift requested.
Результат int

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

Updates this instance.
public Update ( ) : void
Результат void