decouple waterline from entity

This commit is contained in:
2025-05-22 20:30:51 -04:00
committed by laugos
parent 614ada45fd
commit 7dc41bdb2a
2 changed files with 10 additions and 16 deletions

View File

@@ -1,13 +1,14 @@
#pragma once
#include "Entity.h"
class Waterline : public Entity {
class Waterline {
private:
size_t x, y;
std::vector<std::string> shape;
void shiftString(std::string &, int direction);
public:
Waterline();
void draw();
void draw() const;
void update();
};