Difference between revisions of "Body:getType"

(Added Body:getType.)
 
(See also addition.)
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 +
* [[Body:setType]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the type of the body.}}
 
{{#set:Description=Returns the type of the body.}}

Revision as of 22:57, 12 April 2012

Available since LÖVE 0.8.0
This method is not supported in earlier versions.

Returns the type of the body.

Function

Synopsis

type = Body:getType( )

Arguments

None.

Returns

BodyType type
The body type.

See Also


Other Languages