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

Manages game rules, scoring, and win conditions. More...

#include <GameRulesEngine.h>

Static Public Member Functions

static bool VerifyCardInteraction (Card *card, CardStack *targetStack)
 Validates if a card can be moved to the target stack.
 
static bool VerifyBulkCardInteraction (const std::vector< Card * > &cards, CardStack *targetStack)
 Validates if a group of cards can be moved to the target stack.
 
static bool IsWin ()
 Checks whether current game state satisfies win conditions.
 
static void CheckForWin ()
 Evaluates the game state and triggers win logic if necessary.
 
static void SetScoring (const Scoring &scoring)
 Sets the current scoring rule set.
 
static const ScoringGetScoring ()
 Gets the currently active scoring rule set.
 

Detailed Description

Manages game rules, scoring, and win conditions.


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