![]() |
PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
|
Public Member Functions | |
| RayPolygon (std::vector< __v2f_t > points) | |
| bool | isReady () const override |
| Get the Position object. | |
| __v2f_t | getPosition () const override |
| Get the Position object. | |
| void | setPosition (__v2f_t position) override |
| Set the Position object. | |
| __color_t | getColor () const override |
| Get the Color object. | |
| void | setColor (__color_t color) override |
| Set the Color object. | |
| std::vector< __v2f_t > | getPoints () const override |
| Get the Points object. | |
Public Member Functions inherited from graphic::IPolygon | |
| virtual | ~IPolygon ()=default |
| Destroy the IPolygon object. | |
Private Attributes | |
| Color | _color |
| Vector2 | _position |
| std::vector< Vector2 > | _points |
| std::vector< graphic::triangle_t > | _triangles |
Friends | |
| class | RayWindow |