Formatting

This commit is contained in:
2018-02-17 18:14:38 -05:00
parent b7d62067cc
commit 1d5e0c2e1e
3 changed files with 13 additions and 19 deletions

View File

@@ -43,8 +43,7 @@ public:
, maps(dim, boost::dynamic_bitset<>(dim))
{}
bool is_on_map(location loc) const
{
bool is_on_map(location loc) const {
return loc.x < max_dim && loc.y < max_dim && loc.x >= 0 && loc.y >= 0;
}
};