GigaPasjans
Loading...
Searching...
No Matches
Game::SolitaireStatistics Class Reference

Stores gameplay statistics such as score and time. More...

#include <Solitaire.h>

Inheritance diagram for Game::SolitaireStatistics:
Collaboration diagram for Game::SolitaireStatistics:

Public Member Functions

String GetIdentifer () const override
 
- Public Member Functions inherited from Phosphorus::GameObject
std::vector< IBaseParameter * > GetParameters () const
 Returns parameters list.
 
String GetUniqueId () const
 Returns GameObject unique id.
 

Public Attributes

Phosphorus::IntParameter RevertedInteractions
 Number of undo actions performed.
 
Phosphorus::IntParameter StockViewedCards
 Number of cards viewed from the stock.
 
Phosphorus::Int64Parameter TimePlayed
 Total time played in milliseconds.
 
Phosphorus::IntParameter Score
 Current score in the session.
 

Protected Member Functions

GameObject * clone () override
 
- Protected Member Functions inherited from Phosphorus::GameObject
 GameObject (const String &identifier)
 
void addParameter (IBaseParameter *parameter)
 Adds parameter to the list.
 
IBaseParameterfindParameter (const String &name)
 Returns parameter with given name.
 
virtual void onPostLoad ()
 Event called after object load from file.
 
virtual void onPreSerialize ()
 Event called before object gets serialized.
 

Additional Inherited Members

- Protected Attributes inherited from Phosphorus::GameObject
StringParameter m_Identifier
 Random GameObject identifier.
 

Detailed Description

Stores gameplay statistics such as score and time.

Member Function Documentation

◆ clone()

GameObject * Game::SolitaireStatistics::clone ( )
inlineoverrideprotectedvirtual

◆ GetIdentifer()

String Game::SolitaireStatistics::GetIdentifer ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: