20 lines
309 B
C++
20 lines
309 B
C++
#pragma once
|
|
#include <cctype>
|
|
#include <ncurses.h>
|
|
#include <string>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
class Entity {
|
|
protected:
|
|
float x;
|
|
float y;
|
|
|
|
public:
|
|
Entity() : x(0), y(0) {}
|
|
virtual ~Entity() {}
|
|
|
|
inline float getX() const { return x; }
|
|
inline float getY() const { return y; }
|
|
};
|