Difference between revisions of "ShapeType"

m
Line 3: Line 3:
 
;circle: The Shape is a [[CircleShape]].
 
;circle: The Shape is a [[CircleShape]].
 
;polygon: The Shape is a [[PolygonShape]].
 
;polygon: The Shape is a [[PolygonShape]].
{{newin|[[0.8.0]]|080|type=ShapeTypes|plural=yes}}
+
{{New_feature|0.8.0|
 
;edge: The Shape is a [[EdgeShape]].
 
;edge: The Shape is a [[EdgeShape]].
 
;chain: The Shape is a [[ChainShape]].
 
;chain: The Shape is a [[ChainShape]].
 +
|080}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Shape]]
 
* [[parent::Shape]]

Revision as of 12:40, 21 October 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
edge
The Shape is a EdgeShape.
chain
The Shape is a ChainShape.

See Also


Other Languages