Table of Contents

Class GameSummary

Namespace
ProjectL.Data
Assembly
Assembly-CSharp.dll

Provides functionality to track information about players needed to calculate the final score.

public static class GameSummary
Inheritance
GameSummary
Inherited Members

Properties

FinalResults

Stores the final order of the players.

public static Dictionary<Player, int> FinalResults { get; set; }

Property Value

Dictionary<Player, int>

PlayerStats

Stores GameSummary.Stats information about each player.

public static Dictionary<Player, GameSummary.Stats> PlayerStats { get; }

Property Value

Dictionary<Player, GameSummary.Stats>

Methods

AddFinishedPuzzle(Player, Puzzle)

Adds a finished puzzle to the specified player's info.

public static void AddFinishedPuzzle(Player player, Puzzle puzzle)

Parameters

player Player

The player who finished the puzzle.

puzzle Puzzle

The puzzle that was finished.

AddFinishingTouchesTetromino(Player, TetrominoShape)

Adds a finishing touches tetromino to the specified player's info.

public static void AddFinishingTouchesTetromino(Player player, TetrominoShape tetromino)

Parameters

player Player

The player who placed the tetromino.

tetromino TetrominoShape

The tetromino shape.

AddUnfinishedPuzzle(Player, Puzzle)

Adds an unfinished puzzle to the specified player's info.

public static void AddUnfinishedPuzzle(Player player, Puzzle puzzle)

Parameters

player Player

The player who did not finish the puzzle.

puzzle Puzzle

The puzzle that was not finished.

Clear()

Clears all stored information.

public static void Clear()

SetNumLeftoverTetrominos(Player, int)

Sets the number of leftover tetrominos for the specified player.

public static void SetNumLeftoverTetrominos(Player player, int numLeftoverTetrominos)

Parameters

player Player

The player.

numLeftoverTetrominos int

The number of leftover tetrominos.