Difference between revisions of "Shape:getCategory"

m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=function|text=Use [[Fixture:setCategory]] instead}}
  
 
Gets the categories this shape is a member of.
 
Gets the categories this shape is a member of.
Line 15: Line 16:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the categories this shape is a member of.
+
{{#set:Description=Gets the categories this shape is a member of.}}
}}
+
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|Shape:getCategory}}

Latest revision as of 17:47, 29 May 2013

Removed in LÖVE 0.8.0
Use Fixture:setCategory instead.


Gets the categories this shape is a member of. The number of categories the shape is a member of is the number of return values. Categories are used for allowing/disallowing certain collision.

Function

Synopsis

... = Shape:getCategory( )

Arguments

None.

Returns

numbers ...
Numbers from 1-16.

See Also


Other Languages