C# Class Project290.Screens.Title.GameInfoDisplayElement

This class is used for displaying a single game info from the title screen.
Afficher le fichier Open project: scastle/Solitude

Méthodes publiques

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

Method Details

Draw() public méthode

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

GameInfoDisplayElement() public méthode

Initializes a new instance of the GameInfoDisplayElement class.
public GameInfoDisplayElement ( GameInfo gameInfo, Screen screen ) : System
gameInfo GameInfo The game info.
screen Screen The screen.
Résultat System

GetShiftAmount() public méthode

Gets the shift amount.
public GetShiftAmount ( int amount ) : int
amount int The amount of shift requested.
Résultat int

Update() public méthode

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