public abstract class BurningFire extends WidgetWithBounds
| Constructor and Description |
|---|
BurningFire() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BurningFire |
animationDurationMS(double animationDurationMS)
Sets the animation duration in milliseconds.
|
@NotNull BurningFire |
animationDurationTicks(double animationDurationTicks)
Sets the animation duration in ticks.
|
@NotNull BurningFire |
disableAnimation()
Disables the animation.
|
abstract double |
getAnimationDuration()
Gets the animation duration in milliseconds, -1 if animation is disabled.
|
int |
getX() |
int |
getY() |
abstract void |
setAnimationDuration(double animationDurationMS)
Sets the animation duration in milliseconds.
|
containsMouse, getBoundscontainsMouse, containsMouse, getZ, isMouseOver, setZgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic final int getX()
public final int getY()
public abstract double getAnimationDuration()
public abstract void setAnimationDuration(double animationDurationMS)
animationDurationMS - animation duration in milliseconds, animation is disabled when below or equals to 0.@NotNull public final @NotNull BurningFire animationDurationMS(double animationDurationMS)
animationDurationMS - animation duration in milliseconds, animation is disabled when below or equals to 0.@NotNull public final @NotNull BurningFire animationDurationTicks(double animationDurationTicks)
animationDurationTicks - animation duration in ticks, animation is disabled when below or equals to 0.@NotNull public final @NotNull BurningFire disableAnimation()