Difference between revisions of "World:getBodies"

(Created page with "{{newin|unknown version|080|type=method}} Returns a table with all bodies. == Function == === Synopsis === <source lang="lua"> bodies = World:getBodyList( ) </source> ===...")
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{newin|[[unknown version]]|080|type=method}}
+
{{newin|[[11.0]]|110|type=function|text=It has renamed from [[World:getBodyList]]}}
 
Returns a table with all bodies.
 
Returns a table with all bodies.
  
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