blob: 09e0bcce824651d1511ae0244d84cab7b96c4101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <string>
class GameEntity
{
public:
GameEntity(int x, int y);
int x() const {return _x;}
int y() const {return _y;}
std::string coords() const;
private:
int _x;
int _y;
};
|