2023-01-15 22:34:02 +00:00
|
|
|
#pragma once
|
|
|
|
|
2024-01-07 19:48:02 +00:00
|
|
|
#include "../shape/Line.h"
|
2023-01-15 22:34:02 +00:00
|
|
|
|
|
|
|
class WorldObject {
|
|
|
|
public:
|
2023-11-25 18:45:04 +00:00
|
|
|
WorldObject(const std::string&);
|
2023-07-05 11:02:28 +00:00
|
|
|
|
2024-01-07 19:48:02 +00:00
|
|
|
std::vector<std::unique_ptr<Shape>> draw();
|
2023-01-15 22:34:02 +00:00
|
|
|
|
2024-01-07 19:48:02 +00:00
|
|
|
std::vector<Line> edges;
|
2023-01-19 23:02:52 +00:00
|
|
|
std::vector<float> vs;
|
|
|
|
int numVertices;
|
2023-09-01 18:52:36 +00:00
|
|
|
};
|