summaryrefslogtreecommitdiffhomepage
path: root/src/tile.cpp
blob: 7e988a2700d07e0bc27cede0cec4b5292cfcdfc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "tile.hpp"

namespace floormat {

bool operator==(const tile& a, const tile& b) noexcept
{
    return a.ground      == b.ground &&
           a.wall_north  == b.wall_north &&
           a.wall_west   == b.wall_west &&
           a.passability == b.passability;
}

} // namespace floormat