|
Bomberman
|
Cube in a three-dimensionnal space. More...
#include <Cube.hpp>
Public Member Functions | |
| Cube (const Vector3 &position, const Vector3 &dimensions, const Color &color) | |
| Cube constructor. More... | |
| Cube (const Cube &)=default | |
| A default copy constructor. More... | |
| Cube & | operator= (const Cube &)=default |
| A circle is assignable. More... | |
| ~Cube () override=default | |
| A default destructor. More... | |
| const Vector3 & | getDimensions (void) const |
| Cube & | setDimensions (const Vector3 &dimensions) |
| set the dimensions of the cube More... | |
| void | drawOn (RAY::Window &) override |
| Draw circle on window. More... | |
| void | drawWiresOn (RAY::Window &) override |
| Draw cube's wires on window. More... | |
Public Member Functions inherited from RAY::Drawables::ADrawable3D | |
| ADrawable3D (const RAY::Vector3 &position, const RAY::Color &color) | |
| ADrawable3D (const ADrawable3D &)=default | |
| A default copy constructor. More... | |
| ~ADrawable3D () override=default | |
| A default destructor. More... | |
| const RAY::Color & | getColor (void) const |
| ADrawable3D & | setColor (const RAY::Color &color) |
| set color More... | |
| const RAY::Color & | getDebugColor (void) const |
| ADrawable3D & | setDebugColor (const RAY::Color &debugColor) |
| set the debug color More... | |
| virtual const RAY::Vector3 & | getPosition (void) const |
| virtual ADrawable3D & | setPosition (const Vector3 &position) |
| set position More... | |
Public Member Functions inherited from RAY::Drawables::IDrawable | |
| virtual | ~IDrawable ()=default |
Private Attributes | |
| Vector3 | _dimensions |
| Dimensions of the cube. More... | |
Additional Inherited Members | |
Protected Attributes inherited from RAY::Drawables::ADrawable3D | |
| Vector3 | _position |
| Position of the ADrawable. More... | |
| Color | _color |
| Color of the ADrawable. More... | |
| Color | _debugColor = GREEN |
| Color of the ADrawable's Debug. More... | |
Cube in a three-dimensionnal space.
|
default |
A default copy constructor.
|
overridedefault |
A default destructor.
|
overridevirtual |
Draw circle on window.
Implements RAY::Drawables::ADrawable3D.
|
overridevirtual |
Draw cube's wires on window.
Reimplemented from RAY::Drawables::ADrawable3D.
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Cube::getDimensions | ( | void | ) | const |
set the dimensions of the cube
|
private |
Dimensions of the cube.
1.8.17