Brunot
Loading...
Searching...
No Matches
Deck.cpp File Reference

Component that represents a deck of playing cards. More...

#include "Deck.h"
#include "Card.h"
#include <random>
#include "Framework/Action.h"
Include dependency graph for Deck.cpp:

Functions

auto to_json (json &j, const Deck &d) ->void
auto from_json (const json &j, Deck &d) ->void

Detailed Description

Component that represents a deck of playing cards.

Currently only supports the standard 52 cards

Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Cleanup and implementation refactor Bryley Elder (bryle.nosp@m.y.el.nosp@m.der@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Original Implementation
Date
2026 / 01 / 16

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Deck & d )->void

◆ to_json()

auto to_json ( json & j,
const Deck & d )->void