Package | Description |
---|---|
com.codingame.gameengine.module.entities |
Modifier and Type | Method and Description |
---|---|
static Curve |
Curve.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Curve[] |
Curve.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
T |
Entity.setAlpha(double alpha,
Curve curve)
Sets the alpha of this
Entity as a percentage. |
Text |
Text.setFillColor(int fillColor,
Curve curve)
Sets the color of the fill of this
Text as an RGB integer. |
Text |
Text.setFontSize(int fontSize,
Curve curve)
Sets the size of the font of this
Text in px. |
Rectangle |
Rectangle.setHeight(int height,
Curve curve)
Sets the height of this
Rectangle in world units. |
Sprite |
Sprite.setImage(java.lang.String image,
Curve curve)
Sets the image for this
Sprite . |
Circle |
Circle.setRadius(int radius,
Curve curve)
Sets the radius of this
Circle in world units. |
T |
Entity.setRotation(double rotation,
Curve curve)
Sets the rotation of this
Entity in radians. |
T |
Entity.setScale(double scale,
Curve curve)
Sets both the horizontal and vertical scale of this
Entity to the same percentage. |
T |
Entity.setScaleX(double scaleX,
Curve curve)
Sets the horizontal scale of this
Entity as a percentage. |
T |
Entity.setScaleY(double scaleY,
Curve curve)
Sets the vertical scale of this
Entity as a percentage. |
Text |
Text.setStrokeColor(int strokeColor,
Curve curve)
Sets the color of the stroke of this
Text as an RGB integer. |
Text |
Text.setStrokeThickness(double strokeThickness,
Curve curve)
Returns the thickness of the stroke of this
Text in pixels. |
Rectangle |
Rectangle.setWidth(int width,
Curve curve)
Sets the width of this
Rectangle in world units. |
T |
Entity.setX(int x,
Curve curve)
Sets the X coordinate of this
Entity in world units. |
Line |
Line.setX2(int x2,
Curve curve)
Sets the X coordinate of the end point of this
Line . |
T |
Entity.setY(int y,
Curve curve)
Sets the Y coordinate of this
Entity in world units. |
Line |
Line.setY2(int y2,
Curve curve)
Sets the y coordinate of the end point of this
Line . |