Difference between revisions of "Shape:setCategory"

m (included link to other languages)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=function|text=Use [[Fixture:setCategory]] instead}}
 
Sets the categories this shape is a member of.
 
Sets the categories this shape is a member of.
 
Sets the categories of this shape by specifying numbers from 1-16 as parameters.  
 
Sets the categories of this shape by specifying numbers from 1-16 as parameters.  
Line 14: Line 15:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the categories this shape is a member of.
+
{{#set:Description=Sets the categories this shape is a member of.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Shape:setCategory}}
 
{{i18n|Shape:setCategory}}

Latest revision as of 17:54, 29 May 2013

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

Sets the categories this shape is a member of. Sets the categories of this shape by specifying numbers from 1-16 as parameters. Categories can be used to prevent certain shapes from colliding.

Function

Synopsis

Shape:setCategory( ... )

Arguments

numbers ...
Numbers from 1-16

Returns

Nothing.

See Also


Other Languages