C# Класс Project290.Screens.Title.GameInfo

Used for representing a game's desription, box art, authors, and scoreboard index.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GameInfo() публичный Метод

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.
Результат System

StartGame() публичный Метод

Starts the game.
public StartGame ( ) : void
Результат void