|
Turbo Engine 0.3
A C++ game engine using Allegro 5
|
Simple cicle shape. More...
#include <CircleShape.hpp>
Public Member Functions | |
| CircleShape (unsigned short radius=10, const Color &color=Color()) | |
| Construct a circle shape. | |
| void | draw () const override |
| Draw the drawable -_-. | |
Public Attributes | |
| unsigned short | radius = 10 |
| Radius of the circle in pixel. | |
| Color | color = Color() |
| Color of the circle. | |
| float | thickness = 1.0f |
| Thickness of the border if is_filled is true. | |
| bool | is_filled = true |
| Is filled or only show border. | |
Simple cicle shape.
Construct a circle shape.
| radius | radius in pixels |
| color | fill/outline colour |
|
overridevirtual |
Draw the drawable -_-.
Implements turbo::Drawable.
| bool turbo::CircleShape::is_filled = true |
Is filled or only show border.
| unsigned short turbo::CircleShape::radius = 10 |
Radius of the circle in pixel.
| float turbo::CircleShape::thickness = 1.0f |
Thickness of the border if is_filled is true.