PlayerStatePlayerInfo Class

Provides information about about a PlayerState while preventing modification of the original data.

Definition

Namespace: ProjectLCore.GameLogic
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public class PlayerInfo
Inheritance
Object    PlayerStatePlayerInfo

Constructors

PlayerStatePlayerInfo Initializes a new instance of the PlayerStatePlayerInfo class.

Properties

FinishedPuzzlesIds The Ids of the puzzles that the player has already completed.
NumTetrominosOwned The number of tetrominos owned by the player for each shape.
PlayerId The unique identifier of the player.
Score The current score of the player.
UnfinishedPuzzles The puzzles that the player is currently working on.

Methods

ToString Converts to string. It shows the player's score, the number of tetrominos owned for each shape, the puzzles the player is working on, and the number of puzzles the player has completed.
(Overrides ObjectToString)

See Also