C# Class Project290.Screens.Title.BoxArtDisplay

Used for displaying all of the game info box arts on the title screen.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

BoxArtDisplay() public méthode

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.
Résultat System

Draw() public méthode

Draws this instance.
public Draw ( ) : void
Résultat void

Shift() public méthode

Shifts the entries by the specified amount.
public Shift ( int amount ) : void
amount int The amount.
Résultat void

Update() public méthode

Updates this instance.
public Update ( ) : void
Résultat void