17#ifndef _FGE_C_OBJLINESHAPE_HPP_INCLUDED
18#define _FGE_C_OBJLINESHAPE_HPP_INCLUDED
20#include "FastEngine/fge_extern.hpp"
21#include "FastEngine/object/C_objShape.hpp"
23#define FGE_OBJLINESHAPE_CLASSNAME "FGE:OBJ:LINESHAPE"
31 ObjLineShape(Vector2f
const& beginning, Vector2f
const& end,
float thickness);
36 void setThickness(
float thickness);
37 void setEndPoint(Vector2f
const& point);
39 float getThickness()
const;
40 Vector2f getEndPoint()
const;
42 float getLength()
const;
44 [[nodiscard]] std::size_t getPointCount()
const override;
45 [[nodiscard]] Vector2f getPoint(std::size_t index)
const override;
Definition C_objLineShape.hpp:29
char const * getReadableClassName() const override
Get a readable version of the class name.
char const * getClassName() const override
Get the unique class name of the object.
Definition C_objShape.hpp:39