unlogic
Loading...
Searching...
No Matches
Shape.h
Go to the documentation of this file.
1#ifndef UNLOGIC_SHAPE_H
2#define UNLOGIC_SHAPE_H
3
4#include <vector>
5#include "graphic/Color.h"
6#include "graphic/Vertex.h"
7
8namespace unlogic
9{
10 class Shape
11 {
12 protected:
14 std::vector<Vertex> vertices;
15
16 public:
17 [[nodiscard]] std::vector<Vertex> const &GetVertices() const
18 {
19 return this->vertices;
20 }
21 };
22} // namespace unlogic
23
24#endif // UNLOGIC_SHAPE_H
std::vector< Vertex > const & GetVertices() const
Definition Shape.h:17
std::vector< Vertex > vertices
Definition Shape.h:14
Color color
Definition Shape.h:13
static Color Green
Definition Color.h:18