Difference between revisions of "ShapeType"
m |
(Added new 0.8.0 ShapeTypes.) |
||
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}} | ||
+ | ;edge: The Shape is a [[EdgeShape]]. | ||
+ | ;chainshape: The Shape is a [[ChainShape]]. | ||
== See Also == | == See Also == | ||
* [[parent::Shape]] | * [[parent::Shape]] |
Revision as of 03:33, 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.
- chainshape
- The Shape is a ChainShape.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info