Difference between revisions of "Fixture:getCategory"

(Added Fixture:getCategory.)
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|type=function}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Returns the categories the fixture belongs to.
 
Returns the categories the fixture belongs to.
  
Line 16: Line 16:
 
* [[Fixture:setCategory]]
 
* [[Fixture:setCategory]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the points of the fixture bounding box.}}
+
{{#set:Description=Returns the categories the fixture belongs to.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Fixture:getCategory}}
 
{{i18n|Fixture:getCategory}}

Latest revision as of 13:41, 4 May 2012

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

Returns the categories the fixture belongs to.

Function

Synopsis

category1, category2, ... = Fixture:getCategory( )

Arguments

None.

Returns

number category1
The first category.
number category2
The second category.

See Also


Other Languages