8#ifndef GALAXY_COMPONENTS_POLYGON_HPP_
9#define GALAXY_COMPONENTS_POLYGON_HPP_
12#include "galaxy/graphics/shapes/Polygon.hpp"
34 Polygon(
const nlohmann::json& json);
64 void deserialize(
const nlohmann::json& json)
override;
graphics::Polygon m_shape
Shape.
Polygon & operator=(const Polygon &)=delete
Copy assignment operator.
Polygon & operator=(Polygon &&)
Move assignment operator.
Polygon(const Polygon &)=delete
Copy constructor.
nlohmann::json serialize() override
Serializes object.
virtual ~Polygon()
Destructor.
void deserialize(const nlohmann::json &json) override
Deserializes from object.
Allows a class to be serialized.