9 #ifndef _TurtleBrains_Line_h_
10 #define _TurtleBrains_Line_h_
12 #include "tb_graphic.h"
13 #include "implementation/tbi_renderer.h"
14 #include "../math/tb_vector.h"
22 class OutlinedPolygonShape;
53 virtual void OnRender(
void)
const override;
68 void SetAsLineStrip(
void);
73 void SetAsLines(
void);
78 std::vector<tbImplementation::Renderer::Vertex2D> mVertices;
79 tbImplementation::Renderer::PrimitiveType mPrimitiveType;
Definition: tb_vector.h:47
Definition: tb_graphic.h:61
Line(const tbMath::Vector2 &start, const tbMath::Vector2 &final, const tbGraphics::Color &color=tbGraphics::ColorPalette::White)
virtual ~LineContainer(void)
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
virtual void OnRender(void) const override
virtual void SetColor(const tbGraphics::Color &newColor) override
Definition: tb_basic_shapes.h:135
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
void SetStartPosition(const tbMath::Vector2 &start)
Definition: tb_color.h:23
void AddVertex(const tbMath::Vector2 &position)
void SetFinalPosition(const tbMath::Vector2 &final)