mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user