blob: 95904d81f1fb4fdfccc3031a5d50fc17278982a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "chunk.hpp"
namespace floormat {
bool chunk::empty() const
{
for (const tile& x : _tiles)
if (x.ground_image || x.wall_north || x.wall_west)
return false;
return true;
}
} // namespace floormat
|