C# Class Project290.Screens.Title.GameInfoDisplayElement

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

Public Methods

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

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

GameInfoDisplayElement() public method

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

GetShiftAmount() public method

Gets the shift amount.
public GetShiftAmount ( int amount ) : int
amount int The amount of shift requested.
return int

Update() public method

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