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

Used for displaying all of the game info box arts on the title screen.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BoxArtDisplay ( Screen screen, Vector2 basePosition, Vector2 boxArtOffset ) : System

Initializes a new instance of the BoxArtDisplay class.

Draw ( ) : void

Draws this instance.

Shift ( int amount ) : void

Shifts the entries by the specified amount.

Update ( ) : void

Updates this instance.

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

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

Initializes a new instance of the BoxArtDisplay class.
public BoxArtDisplay ( Screen screen, Vector2 basePosition, Vector2 boxArtOffset ) : System
screen Screen The screen.
basePosition Vector2 The base position (positon of center of active box art).
boxArtOffset Vector2 The box art offset between each image.
Результат System

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

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

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

Shifts the entries by the specified amount.
public Shift ( int amount ) : void
amount int The amount.
Результат void

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

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