1#ifndef EILEMITWEILE_FIGURE_HPP
2#define EILEMITWEILE_FIGURE_HPP
4#include "common/serialization/unique_serializable.hpp"
19 Figure(
unsigned color,
int figure_idx);
25 void WriteIntoJson(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator)
const override;
28 Figure(std::string
id,
unsigned color_idx,
int figure_idx);
Color
Enum for the colors of the players.
Definition Player.hpp:15
Used to serialize game_state objects that need to be identifiable by a unique id.
Definition unique_serializable.hpp:14