Difference between revisions of "ShapeType"

(Added new 0.8.0 ShapeTypes.)
Line 5: Line 5:
 
{{newin|[[0.8.0]]|type=ShapeTypes|plural=yes}}
 
{{newin|[[0.8.0]]|type=ShapeTypes|plural=yes}}
 
;edge: The Shape is a [[EdgeShape]].
 
;edge: The Shape is a [[EdgeShape]].
;chainshape: The Shape is a [[ChainShape]].
+
;chain: The Shape is a [[ChainShape]].
 
== See Also ==
 
== See Also ==
 
* [[parent::Shape]]
 
* [[parent::Shape]]

Revision as of 03:37, 11 April 2012

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

Constants

circle
The Shape is a CircleShape.
polygon
The Shape is a PolygonShape.
Available since LÖVE 0.8.0
These ShapeTypes are not supported in earlier versions.
edge
The Shape is a EdgeShape.
chain
The Shape is a ChainShape.

See Also

Other Languages