initial commit
This commit is contained in:
19
src/Entity.h
Normal file
19
src/Entity.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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; }
|
||||
};
|
||||
Reference in New Issue
Block a user