C# Class Project290.Screens.Title.GameInfo

Used for representing a game's desription, box art, authors, and scoreboard index.
Mostra file Open project: scastle/Solitude Class Usage Examples

Public Methods

Method Description
GameInfo ( string title, string boxArt, string description, string authors, string instructionsImageName, int scoreboardIndex, IMenuDelegate creationDelegate ) : System

Initializes a new instance of the GameInfo class.

StartGame ( ) : void

Starts the game.

Method Details

GameInfo() public method

Initializes a new instance of the GameInfo class.
public GameInfo ( string title, string boxArt, string description, string authors, string instructionsImageName, int scoreboardIndex, IMenuDelegate creationDelegate ) : System
title string The title.
boxArt string The box art (name of the Texture2D).
description string The description.
authors string The authors.
instructionsImageName string The name of the 1450 * 800 image constain "how to play".
scoreboardIndex int Index of the scoreboard.
creationDelegate IMenuDelegate The creation delegate.
return System

StartGame() public method

Starts the game.
public StartGame ( ) : void
return void