aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Tile.hpp
blob: 7292fde9cb417a02acd8e7884eaea3abee715786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef TILE_HPP
#define TILE_HPP

struct Tile
{
    enum Type
    {
        GRASS, WATER
    };

    const Type type;
    const int x, y;

    Tile(Type _type, int _x, int _y) : type(_type), x(_x), y(_y) {}
};

#endif