make collision debug boxes toggleable

This commit is contained in:
Ansis Brammanis
2015-05-28 11:01:57 -04:00
parent 0bd39ae44a
commit 8962442b1b
15 changed files with 71 additions and 25 deletions

View File

@@ -290,6 +290,20 @@ bool Map::getDebug() const {
return data->getDebug();
}
void Map::setCollisionDebug(bool value) {
data->setCollisionDebug(value);
update();
}
void Map::toggleCollisionDebug() {
data->toggleCollisionDebug();
update();
}
bool Map::getCollisionDebug() const {
return data->getCollisionDebug();
}
bool Map::isFullyLoaded() const {
return data->getFullyLoaded();
}