Difference between revisions of "World:getAllowSleeping"
m |
m |
||
Line 5: | Line 5: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | World: | + | allowSleep = World:getAllowSleeping( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === |
Revision as of 11:00, 26 August 2013
Available since LÖVE 0.8.0 |
This method is not supported in earlier versions. |
Returns the sleep behaviour of the world.
Function
Synopsis
allowSleep = World:getAllowSleeping( )
Arguments
None.
Returns
boolean allowSleep
- True if the bodies are allowed to sleep or false if not.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info