Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
UrRecords Class Reference

Class responsible for loading, validating, and storing records of all completed games played on this platform. More...

#include <ur_records.hpp>

Inheritance diagram for UrRecords:

Public Member Functions

std::shared_ptr< BaseSimObjectAspect > clone () const override
void submitRecord (const GameRecord &gameRecord)
GameRecord getLatestRecord () const
std::vector< GameRecordgetAllRecords () const

Static Public Member Functions

static std::string getSimObjectAspectTypeName ()
static std::shared_ptr< BaseSimObjectAspect > create (const nlohmann::json &jsonAspectProperties)

Private Member Functions

void onActivated () override
void onDeactivated () override

Static Private Member Functions

static void ApplyInvariants (const GameRecord &gameRecord)

Private Attributes

std::vector< GameRecordmLoadedRecords {}
std::string mRecordsPath {}

Detailed Description

Class responsible for loading, validating, and storing records of all completed games played on this platform.


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