refactor castle
This commit is contained in:
14
src/Castle.h
14
src/Castle.h
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user