Difference between revisions of "World:getBodies"

m (Fix newin)
m
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
bodies = World:getBodyList( )
+
bodies = World:getBodies( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 15: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns a table with all bodies.}}
 
{{#set:Description=Returns a table with all bodies.}}
{{#set:Since=080}}
+
{{#set:Since=110}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|World:getBodyList}}
+
{{i18n|World:getBodies}}

Latest revision as of 00:33, 27 November 2019

Available since LÖVE 11.0
It has renamed from World:getBodyList.

Returns a table with all bodies.

Function

Synopsis

bodies = World:getBodies( )

Arguments

None.

Returns

table bodies
A sequence with all bodies.

See Also


Other Languages