Difference between revisions of "B2.Body:setSleepingAllowed"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
+
<languages />
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
+
'''Available since:''' Gideros 2012.09.6<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
<translate><br /></translate>
+
 
<source lang="lua">
+
=== Description ===
b2.Body:setSleepingAllowed(flag)
+
Whether the body can sleep.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
b2.Body:setSleepingAllowed(flag)
'''flag''': (boolean) <translate></translate> <br/>
+
</syntaxhighlight>
 +
 
 +
=== Parameters ===
 +
'''flag''': (boolean) is the body allowed to sleep <br/>
 +
 
 +
{{B2.Body}}

Latest revision as of 17:00, 12 July 2023