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

The component responsible for storing information relevant to the player. More...

Include dependency graph for Player.cpp:

Macros

#define LM_CLASS   Player

Functions

auto to_json (json &j, const Player &p) ->void
auto from_json (const json &j, Player &p) ->void

Detailed Description

The component responsible for storing information relevant to the player.

Tracks how many cards it has in hand, and the maximum number of cards it can hold

Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Refactoring and updated functionality Bryley Elder (bryle.nosp@m.y.el.nosp@m.der@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Basic Implementation Marcelo Escamilla(marce.nosp@m.lo.e.nosp@m.scami.nosp@m.lla@.nosp@m.digip.nosp@m.en.e.nosp@m.du) JSON Serialization
Date
2025 / 10 / 24

Macro Definition Documentation

◆ LM_CLASS

#define LM_CLASS   Player

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Player & p )->void

◆ to_json()

auto to_json ( json & j,
const Player & p )->void