Difference between revisions of "Shape:getCategory"
(Old in 0.8.0 (at latest)) |
|||
Line 1: | Line 1: | ||
+ | {{oldin|[[0.8.0]]|080|type=method|text=Use [[Fixture:setCategory]] instead}} | ||
+ | |||
Gets the categories this shape is a member of. | 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. | The number of categories the shape is a member of is the number of return values. |
Revision as of 16:26, 7 May 2012
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info