Difference between revisions of "Shape:getMaskBits"

(I was told in the forum this has been removed, note to that effect)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.6.1]]|061|type=function}}
 
Returns a 16-bit integer representing the masked categories.  
 
Returns a 16-bit integer representing the masked categories.  
 
A set bit means that a collision occurs with members of that category.
 
A set bit means that a collision occurs with members of that category.
 
N.B. This function is no longer available in LÖVE version 0.6.1.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 +
* [[Shape:getMask]]
 +
* [[Shape:setMask]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns a 16-bit integer representing the masked categories.  
+
{{#set:Description=Returns a 16-bit integer representing the masked categories.}}
}}
+
== Other Languages ==
 +
{{i18n|Shape:getMaskBits}}

Latest revision as of 10:53, 25 March 2011

Removed in LÖVE 0.6.1
This function is not supported in that and later versions.

Returns a 16-bit integer representing the masked categories. A set bit means that a collision occurs with members of that category.

Function

Synopsis

mask = Shape:getMaskBits( )

Arguments

None.

Returns

number mask
An integer value representing the mask.

See Also

Other Languages