1#ifndef EILEMITWEILE_NORMALSPACE_HPP
2#define EILEMITWEILE_NORMALSPACE_HPP
18 void WriteIntoJson(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator)
const override;
21 NormalSpace(std::string
id,
unsigned space_idx, std::vector<Figure*> figures);
Represents a normal space on the board.
Definition NormalSpace.hpp:12
NormalSpace(std::string id, unsigned space_idx, std::vector< Figure * > figures)
static NormalSpace * FromJson(const rapidjson::Value &json)
Definition NormalSpace.cpp:18
void WriteIntoJson(rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override
Definition NormalSpace.cpp:32
NormalSpace(unsigned space_idx)
unsigned GetTypeOfSpace() const override
Definition NormalSpace.cpp:14
Abstract Base Class. Represents a space on the board.
Definition Space.hpp:28