![]() |
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 <Ellipse.hpp>
Inheritance diagram for galaxy::components::Ellipse:
Collaboration diagram for galaxy::components::Ellipse:Public Member Functions | |
| Ellipse () | |
| Constructor. | |
| Ellipse (const nlohmann::json &json) | |
| JSON constructor. | |
| Ellipse (Ellipse &&) | |
| Move constructor. | |
| Ellipse & | operator= (Ellipse &&) |
| Move assignment operator. | |
| virtual | ~Ellipse () |
| Destructor. | |
| nlohmann::json | serialize () override |
| Serializes object. | |
| void | deserialize (const nlohmann::json &json) override |
| Deserializes from object. | |
Public Attributes | |
| graphics::Ellipse | m_shape |
| Shape. | |
Private Member Functions | |
| Ellipse & | operator= (const Ellipse &)=delete |
| Copy assignment operator. | |
| Ellipse (const Ellipse &)=delete | |
| Copy constructor. | |
2D shape.
Definition at line 21 of file Ellipse.hpp.
| galaxy::components::Ellipse::Ellipse | ( | ) |
Constructor.
Definition at line 16 of file Ellipse.cpp.
| galaxy::components::Ellipse::Ellipse | ( | const nlohmann::json & | json | ) |
JSON constructor.
| json | JSON defining object. |
Definition at line 21 of file Ellipse.cpp.
Here is the call graph for this function:| galaxy::components::Ellipse::Ellipse | ( | Ellipse && | e | ) |
Move constructor.
Definition at line 27 of file Ellipse.cpp.
|
virtual |
Destructor.
Definition at line 43 of file Ellipse.cpp.
|
privatedelete |
Copy constructor.
Move assignment operator.
Definition at line 33 of file Ellipse.cpp.
|
nodiscardoverride |
Serializes object.
Definition at line 47 of file Ellipse.cpp.
Here is the call graph for this function:
|
override |
Deserializes from object.
| json | Json object to retrieve data from. |
Definition at line 62 of file Ellipse.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Copy assignment operator.
| graphics::Ellipse galaxy::components::Ellipse::m_shape |
Shape.
Definition at line 81 of file Ellipse.hpp.