Renamed World:setAllowSleeping and World:getAllowSleeping to World:setSleepingAllowed and World:isSleepingAllowed (see issue #691, also consistent with the Body methods)

This commit is contained in:
Alex Szpakowski
2013-08-31 21:15:09 -03:00
parent 3ac0710544
commit 93a782d445
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -185,13 +185,13 @@ public:
* Sets whether this World allows sleep.
* @param allow True to allow, false to disallow.
**/
void setAllowSleeping(bool allow);
void setSleepingAllowed(bool allow);
/**
* Returns whether this World allows sleep.
* @return True if allowed, false if disallowed.
**/
bool getAllowSleeping() const;
bool isSleepingAllowed() const;
/**
* Returns whether this World is currently locked.