Difference between revisions of "ShapeType"

(Does not show up in enum queries. Since setting mebe?)
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]]|type=ShapeTypes|plural=yes}}
+
{{newin|[[0.8.0]]|080|type=ShapeTypes|plural=yes}}
 
;edge: The Shape is a [[EdgeShape]].
 
;edge: The Shape is a [[EdgeShape]].
 
;chain: The Shape is a [[ChainShape]].
 
;chain: The Shape is a [[ChainShape]].
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}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ShapeType}}
 
{{i18n|ShapeType}}

Revision as of 13:34, 4 May 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