Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GameRules Class Reference

#include <GameRules.h>

Public Member Functions

 GameRules (const std::string &n="DefaultRules")
 
 ~GameRules ()
 
bool Validate () const
 

Static Public Member Functions

static GameRulesGetInstance ()
 
static GameRulesGet ()
 

Public Attributes

std::string name
 

Detailed Description

Definition at line 10 of file GameRules.h.

Constructor & Destructor Documentation

◆ GameRules()

GameRules::GameRules ( const std::string &  n = "DefaultRules")
inline

Definition at line 14 of file GameRules.h.

References name, and SYSTEM_LOG.

◆ ~GameRules()

GameRules::~GameRules ( )
inline

Definition at line 15 of file GameRules.h.

References name, and SYSTEM_LOG.

Member Function Documentation

◆ Get()

static GameRules & GameRules::Get ( )
inlinestatic

Definition at line 22 of file GameRules.h.

References GetInstance().

+ Here is the call graph for this function:

◆ GetInstance()

static GameRules & GameRules::GetInstance ( )
inlinestatic

Definition at line 17 of file GameRules.h.

References GetComponentTypeID_Static().

Referenced by Get().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Validate()

bool GameRules::Validate ( ) const
inline

Definition at line 26 of file GameRules.h.

Member Data Documentation

◆ name

std::string GameRules::name

Definition at line 13 of file GameRules.h.

Referenced by GameRules(), and ~GameRules().


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