Difference between revisions of "ShapeType"

(Does not show up in enum queries. Since setting mebe?)
Line 10: Line 10:
 
[[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]].}}
 +
{{#set:Since=080}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ShapeType}}
 
{{i18n|ShapeType}}

Revision as of 03:38, 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