Uses of Class
com.codingame.gameengine.module.entities.Polygon
-
Uses of Polygon in com.codingame.gameengine.module.entities
Modifier and TypeMethodDescriptionPolygon.addPoint
(int x, int y) Adds a point to the path of thisPolygon
.Polygon.clearPoints()
Clears the path of thisPolygon
.GraphicEntityModule.createPolygon()
Creates a new Polygon entity, its graphical counterpart will be created on the frame currently being computed.Polygon.setPointsInterpolationCurve
(Curve curve) Sets the transition used to animate the positions of each point.