C# Class Project290.Screens.Title.GameInfo

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

Méthodes publiques

Méthode 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 méthode

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

StartGame() public méthode

Starts the game.
public StartGame ( ) : void
Résultat void