Difference between revisions of "ShapeType"

(Created page with 'The different types of Shapes, as returned by Shape:getType. == Constants == ;circle: The Shape is circular. ;polygon: The Shape is polygonal. == See Also == * [[pa…')
 
(this belongs to Shape, not love.physics.)
Line 1: Line 1:
 
The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].
 
The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].
 
== Constants ==
 
== Constants ==
;circle: The Shape is circular.
+
;circle: The Shape is a [[CircleShape]].
;polygon: The Shape is polygonal.
+
;polygon: The Shape is a [[PolygonShape]].
 
== See Also ==
 
== See Also ==
* [[parent::love.physics]]
+
* [[parent::Shape]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].}}
 
{{#set:Description=The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].}}

Revision as of 14:49, 4 May 2010

The different types of Shapes, as returned by Shape:getType.

Constants

circle
The Shape is a CircleShape.
polygon
The Shape is a PolygonShape.

See Also