C# Class Project290.Screens.Title.BoxArtDisplay

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

Public Methods

Method 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 method

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.
return System

Draw() public method

Draws this instance.
public Draw ( ) : void
return void

Shift() public method

Shifts the entries by the specified amount.
public Shift ( int amount ) : void
amount int The amount.
return void

Update() public method

Updates this instance.
public Update ( ) : void
return void