![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
2D shape. More...
#include <Circle.hpp>
Inheritance diagram for galaxy::components::Circle:
Collaboration diagram for galaxy::components::Circle:Public Member Functions | |
| Circle () | |
| Constructor. | |
| Circle (const nlohmann::json &json) | |
| JSON constructor. | |
| Circle (Circle &&) | |
| Move constructor. | |
| Circle & | operator= (Circle &&) |
| Move assignment operator. | |
| virtual | ~Circle () |
| Destructor. | |
| nlohmann::json | serialize () override |
| Serializes object. | |
| void | deserialize (const nlohmann::json &json) override |
| Deserializes from object. | |
Public Attributes | |
| graphics::Circle | m_shape |
| Shape. | |
Private Member Functions | |
| Circle & | operator= (const Circle &)=delete |
| Copy assignment operator. | |
| Circle (const Circle &)=delete | |
| Copy constructor. | |
2D shape.
Definition at line 21 of file Circle.hpp.
| galaxy::components::Circle::Circle | ( | ) |
Constructor.
Definition at line 16 of file Circle.cpp.
| galaxy::components::Circle::Circle | ( | const nlohmann::json & | json | ) |
JSON constructor.
| json | JSON defining object. |
Definition at line 21 of file Circle.cpp.
Here is the call graph for this function:| galaxy::components::Circle::Circle | ( | Circle && | c | ) |
Move constructor.
Definition at line 27 of file Circle.cpp.
|
virtual |
Destructor.
Definition at line 43 of file Circle.cpp.
|
privatedelete |
Copy constructor.
Move assignment operator.
Definition at line 33 of file Circle.cpp.
|
nodiscardoverride |
Serializes object.
Definition at line 47 of file Circle.cpp.
Here is the call graph for this function:
|
override |
Deserializes from object.
| json | Json object to retrieve data from. |
Definition at line 61 of file Circle.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Copy assignment operator.
| graphics::Circle galaxy::components::Circle::m_shape |
Shape.
Definition at line 81 of file Circle.hpp.