![]() |
R-Type
2
Doom but in better
|
Manages shapes and their associated properties in the ECS framework. More...
#include <ShapeComponent.hpp>
Public Member Functions | |
ShapeComponent (const std::uint32_t entityId=0) | |
Default constructor. | |
ShapeComponent (const std::size_t pointCount, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a convex shape. | |
ShapeComponent (const std::size_t pointCount, const float radius, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a circle shape. | |
ShapeComponent (const std::pair< float, float > &size, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a rectangle shape. | |
ShapeComponent (const Recoded::FloatRect &rect, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a rectangle shape from a FloatRect. | |
ShapeComponent (const std::uint32_t entityId, const std::size_t pointCount, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a convex shape. | |
ShapeComponent (const std::uint32_t entityId, const std::size_t pointCount, const float radius, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a circle shape. | |
ShapeComponent (const std::uint32_t entityId, const std::pair< float, float > &size, const std::pair< float, float > &position={ 0, 0 }, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a rectangle shape. | |
ShapeComponent (const std::uint32_t entityId, const Recoded::FloatRect &rect, const GUI::ECS::Systems::Colour &normalColour=GUI::ECS::Systems::Colour::AliceBlue, const GUI::ECS::Systems::Colour &hoverColour=GUI::ECS::Systems::Colour::White, const GUI::ECS::Systems::Colour &clickedColour=GUI::ECS::Systems::Colour::CornflowerBlue, const bool visible=true) | |
Constructs a rectangle shape from a FloatRect. | |
~ShapeComponent () | |
Destructor. | |
void | setHoverColor (const GUI::ECS::Systems::Colour &hoverColor) |
Sets the hover color for the shape. | |
void | setNormalColor (const GUI::ECS::Systems::Colour &normalColor) |
Sets the normal color for the shape. | |
void | setClickedColor (const GUI::ECS::Systems::Colour &clickedColor) |
Sets the clicked color for the shape. | |
void | setShape (const std::size_t pointCount) |
Create a convex shape. | |
void | setShape (const std::size_t pointCount, const float radius) |
Create a circle. | |
void | setShape (const std::pair< float, float > &size) |
Create a rectangle. | |
void | setShape (const Recoded::FloatRect &rect) |
Create a rectangle based on an Recoded::FloatRect. | |
void | setShape (const GUI::ECS::Systems::ActiveShape &type) |
Set the type of the object (this does not initialise the component) | |
void | setShape (const GUI::ECS::Systems::ActiveShape &type, const std::any &shape) |
Set the shape based on the type and an existing instance of a shape. | |
void | setShape (const std::pair< GUI::ECS::Systems::ActiveShape, std::any > &shape) |
Set the Shape object based on a pair made of the shape type and shape instance. | |
void | setVisible (const bool visible) |
Set the visible toggle informing the program if it should (or not) render the component. | |
void | setPosition (const std::pair< float, float > position) |
Set the position of the component. | |
void | setDimension (const std::pair< float, float > dimension) |
Set the Dimension object. | |
void | setCollision (const GUI::ECS::Systems::Collision &collision) |
Set the internal collision class using another Collision component. | |
void | setName (const std::string &name) |
Set the Name of the component. | |
void | setApplication (const std::string &application) |
Set the Application context of the component. | |
void | toggleVisibility () |
Toggles the visibility of the shape. | |
const bool | isVisible () const |
Get the visibility status of the component. | |
const bool | isShapeInitialised () const |
Know if there is a shape initialised or not. | |
const GUI::ECS::Systems::ActiveShape | getShapeType () const |
Get the Shape Type shape, none is returned if none are initialised. | |
const std::string | getShapeTypeString () const |
Get the Shape Type shape, none is returned if none are initialised. | |
const std::pair< GUI::ECS::Systems::ActiveShape, std::any > | getActiveShape () const |
Get the Active Shape and it's type all contained in an std::pair. | |
const GUI::ECS::Systems::Colour | getHoverColor () const |
Get the Hover Color of the shape. | |
const GUI::ECS::Systems::Colour | getNormalColor () const |
Get the Normal Color of the shape. | |
const GUI::ECS::Systems::Colour | getClickedColor () const |
Get the Clicked Color shape. | |
const std::pair< float, float > | getPosition () const |
Get the Position of the shape. | |
const std::pair< float, float > | getDimension () const |
Get the Dimension of the shape. | |
const std::pair< GUI::ECS::Systems::ActiveShape, std::any > | getShape () const |
Get the Shape and it's type all packaged in an std::pair. | |
const GUI::ECS::Systems::Collision | getCollision () const |
Get the Collision Component of the object. | |
const std::string | getName () const |
Get the Name of the component. | |
const std::string | getApplication () const |
Get the Application context of the component. | |
const std::string | getInfo (const unsigned int indent=0) const |
This is a function meant for debugging purposes It will dump the current state of the variables upon call. It will dump them for itself and any of it's underlying classes. | |
const bool | getVisible () const |
Get the info about if the shape is visible or not. | |
void | update (const GUI::ECS::Systems::MouseInfo &mouse) |
Update the mouse information of the component (this is used for mouse collision calculations) | |
void | update (const ShapeComponent ©) |
Update the ShapeComponent using another shape component. | |
void | clearShapes () |
Remove all and any initialised shapes in the class, this will reset the type to NONE. | |
std::optional< std::pair< GUI::ECS::Systems::ActiveShape, std::any > > | render () const |
Get an optional std::pair of the object so that it can be displayed on screen. | |
ShapeComponent & | operator= (const ShapeComponent ©) |
'=' operator in charge of allowing the user to seamlessly assing the content of one ShapeComponent to another. | |
![]() | |
EntityNode (const size_t entityId=0) | |
virtual | ~EntityNode ()=default |
virtual size_t | getEntityNodeId () const |
Additional Inherited Members | |
![]() | |
size_t | _entityID |
Manages shapes and their associated properties in the ECS framework.
Definition at line 47 of file ShapeComponent.hpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::uint32_t | entityId = 0 | ) |
Default constructor.
entityId | The ID of the entity this component belongs to. |
Definition at line 16 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::size_t | pointCount, |
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a convex shape.
pointCount | Number of points for the convex shape. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 28 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::size_t | pointCount, |
const float | radius, | ||
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a circle shape.
pointCount | Number of points to render the circle. |
radius | Radius of the circle. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 44 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::pair< float, float > & | size, |
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a rectangle shape.
size | Dimensions of the rectangle. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 59 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const Recoded::FloatRect & | rect, |
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a rectangle shape from a FloatRect.
rect | Rectangle bounds. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 74 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::uint32_t | entityId, |
const std::size_t | pointCount, | ||
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a convex shape.
entityId | The ID of the entity this component belongs to. |
pointCount | Number of points for the convex shape. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 88 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::uint32_t | entityId, |
const std::size_t | pointCount, | ||
const float | radius, | ||
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a circle shape.
entityId | The ID of the entity this component belongs to. |
pointCount | Number of points to render the circle. |
radius | Radius of the circle. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 103 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::uint32_t | entityId, |
const std::pair< float, float > & | size, | ||
const std::pair< float, float > & | position = { 0,0 }, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a rectangle shape.
entityId | The ID of the entity this component belongs to. |
size | Dimensions of the rectangle. |
position | Position of the shape. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 118 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::ShapeComponent | ( | const std::uint32_t | entityId, |
const Recoded::FloatRect & | rect, | ||
const GUI::ECS::Systems::Colour & | normalColour = GUI::ECS::Systems::Colour::AliceBlue, | ||
const GUI::ECS::Systems::Colour & | hoverColour = GUI::ECS::Systems::Colour::White, | ||
const GUI::ECS::Systems::Colour & | clickedColour = GUI::ECS::Systems::Colour::CornflowerBlue, | ||
const bool | visible = true ) |
Constructs a rectangle shape from a FloatRect.
entityId | The ID of the entity this component belongs to. |
rect | Rectangle bounds. |
normalColour | Default color for the shape. |
hoverColour | Color when hovered. |
clickedColour | Color when clicked. |
visible | Visibility status of the shape. |
Definition at line 133 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent::~ShapeComponent | ( | ) |
Destructor.
Definition at line 148 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::clearShapes | ( | ) |
Remove all and any initialised shapes in the class, this will reset the type to NONE.
Definition at line 456 of file ShapeComponent.cpp.
const std::pair< GUI::ECS::Systems::ActiveShape, std::any > GUI::ECS::Components::ShapeComponent::getActiveShape | ( | ) | const |
Get the Active Shape and it's type all contained in an std::pair.
Definition at line 324 of file ShapeComponent.cpp.
const std::string GUI::ECS::Components::ShapeComponent::getApplication | ( | ) | const |
Get the Application context of the component.
Definition at line 403 of file ShapeComponent.cpp.
const GUI::ECS::Systems::Colour GUI::ECS::Components::ShapeComponent::getClickedColor | ( | ) | const |
Get the Clicked Color shape.
Definition at line 372 of file ShapeComponent.cpp.
const GUI::ECS::Systems::Collision GUI::ECS::Components::ShapeComponent::getCollision | ( | ) | const |
Get the Collision Component of the object.
Definition at line 392 of file ShapeComponent.cpp.
const std::pair< float, float > GUI::ECS::Components::ShapeComponent::getDimension | ( | ) | const |
Get the Dimension of the shape.
Definition at line 382 of file ShapeComponent.cpp.
const GUI::ECS::Systems::Colour GUI::ECS::Components::ShapeComponent::getHoverColor | ( | ) | const |
Get the Hover Color of the shape.
Definition at line 362 of file ShapeComponent.cpp.
const std::string GUI::ECS::Components::ShapeComponent::getInfo | ( | const unsigned int | indent = 0 | ) | const |
This is a function meant for debugging purposes It will dump the current state of the variables upon call. It will dump them for itself and any of it's underlying classes.
indent | The level to which the class should be indented in the dump. |
Definition at line 408 of file ShapeComponent.cpp.
const std::string GUI::ECS::Components::ShapeComponent::getName | ( | ) | const |
Get the Name of the component.
Definition at line 398 of file ShapeComponent.cpp.
const GUI::ECS::Systems::Colour GUI::ECS::Components::ShapeComponent::getNormalColor | ( | ) | const |
Get the Normal Color of the shape.
Definition at line 367 of file ShapeComponent.cpp.
const std::pair< float, float > GUI::ECS::Components::ShapeComponent::getPosition | ( | ) | const |
Get the Position of the shape.
Definition at line 377 of file ShapeComponent.cpp.
const std::pair< GUI::ECS::Systems::ActiveShape, std::any > GUI::ECS::Components::ShapeComponent::getShape | ( | ) | const |
Get the Shape and it's type all packaged in an std::pair.
Definition at line 387 of file ShapeComponent.cpp.
const GUI::ECS::Systems::ActiveShape GUI::ECS::Components::ShapeComponent::getShapeType | ( | ) | const |
Get the Shape Type shape, none is returned if none are initialised.
Definition at line 314 of file ShapeComponent.cpp.
const std::string GUI::ECS::Components::ShapeComponent::getShapeTypeString | ( | ) | const |
Get the Shape Type shape, none is returned if none are initialised.
Definition at line 319 of file ShapeComponent.cpp.
const bool GUI::ECS::Components::ShapeComponent::getVisible | ( | ) | const |
Get the info about if the shape is visible or not.
update
function, please call isVisible
to get this information. Definition at line 429 of file ShapeComponent.cpp.
const bool GUI::ECS::Components::ShapeComponent::isShapeInitialised | ( | ) | const |
Know if there is a shape initialised or not.
Definition at line 303 of file ShapeComponent.cpp.
const bool GUI::ECS::Components::ShapeComponent::isVisible | ( | ) | const |
Get the visibility status of the component.
Definition at line 298 of file ShapeComponent.cpp.
GUI::ECS::Components::ShapeComponent & GUI::ECS::Components::ShapeComponent::operator= | ( | const ShapeComponent & | copy | ) |
'=' operator in charge of allowing the user to seamlessly assing the content of one ShapeComponent to another.
copy |
Definition at line 506 of file ShapeComponent.cpp.
std::optional< std::pair< GUI::ECS::Systems::ActiveShape, std::any > > GUI::ECS::Components::ShapeComponent::render | ( | ) | const |
Get an optional std::pair of the object so that it can be displayed on screen.
draw
function from the Window
component. Definition at line 467 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setApplication | ( | const std::string & | application | ) |
Set the Application context of the component.
application |
Definition at line 284 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setClickedColor | ( | const GUI::ECS::Systems::Colour & | clickedColor | ) |
Sets the clicked color for the shape.
clickedColor | The new clicked color. |
Definition at line 160 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setCollision | ( | const GUI::ECS::Systems::Collision & | collision | ) |
Set the internal collision class using another Collision component.
collision | The collision component to query the data from. |
Definition at line 270 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setDimension | ( | const std::pair< float, float > | dimension | ) |
Set the Dimension object.
dimension | an std::pair<float, float> representing the dimensions of the component |
Definition at line 265 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setHoverColor | ( | const GUI::ECS::Systems::Colour & | hoverColor | ) |
Sets the hover color for the shape.
hoverColor | The new hover color. |
Definition at line 150 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setName | ( | const std::string & | name | ) |
void GUI::ECS::Components::ShapeComponent::setNormalColor | ( | const GUI::ECS::Systems::Colour & | normalColor | ) |
Sets the normal color for the shape.
normalColor | The new normal color. |
Definition at line 155 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setPosition | ( | const std::pair< float, float > | position | ) |
Set the position of the component.
position | an std::pair<float, float> representing the position of the component |
Definition at line 257 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const GUI::ECS::Systems::ActiveShape & | type | ) |
Set the type of the object (this does not initialise the component)
type | The type of the object |
Definition at line 218 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const GUI::ECS::Systems::ActiveShape & | type, |
const std::any & | shape ) |
Set the shape based on the type and an existing instance of a shape.
type | The type of shape |
shape | The instance of the shape |
CustomExceptions::InvalidShape | if the provided shape was not found |
Definition at line 224 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const Recoded::FloatRect & | rect | ) |
Create a rectangle based on an Recoded::FloatRect.
rect | A rectangle component representing the dimensions of a rectangle. |
Definition at line 202 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const std::pair< float, float > & | size | ) |
Create a rectangle.
size |
Definition at line 187 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const std::pair< GUI::ECS::Systems::ActiveShape, std::any > & | shape | ) |
Set the Shape object based on a pair made of the shape type and shape instance.
shape | std::pair<GUI::ECS::Systems::ActiveShape, std::any> |
Definition at line 247 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const std::size_t | pointCount | ) |
Create a convex shape.
pointCount | Create a shape based on the number of points being inputted |
Definition at line 165 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setShape | ( | const std::size_t | pointCount, |
const float | radius ) |
Create a circle.
pointCount | The number of points used to render the circle |
radius | The radius of the circle |
Definition at line 176 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::setVisible | ( | const bool | visible | ) |
Set the visible toggle informing the program if it should (or not) render the component.
visible |
Definition at line 252 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::toggleVisibility | ( | ) |
Toggles the visibility of the shape.
Definition at line 289 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::update | ( | const GUI::ECS::Systems::MouseInfo & | mouse | ) |
Update the mouse information of the component (this is used for mouse collision calculations)
mouse |
Definition at line 434 of file ShapeComponent.cpp.
void GUI::ECS::Components::ShapeComponent::update | ( | const ShapeComponent & | copy | ) |
Update the ShapeComponent using another shape component.
copy |
Definition at line 442 of file ShapeComponent.cpp.