refactor castle

This commit is contained in:
2025-05-22 20:53:41 -04:00
committed by laugos
parent 7dc41bdb2a
commit 198fef6a6d
4 changed files with 93 additions and 35 deletions

View File

@@ -1,14 +1,14 @@
#pragma once
#include "Entity.h"
#include <string>
#include <vector>
class Castle : public Entity {
class Castle {
private:
static const std::vector<std::string> image;
static const std::vector<std::string> mask;
const size_t x, y;
const std::vector<std::string> image;
const std::vector<std::string> mask;
public:
Castle();
void draw();
void update();
void draw() const;
};