- Enclosing class:
Particle
public static class Particle.Trail
extends Object
Options which can be applied to trail particles - a location, color and duration.
-
Constructor Summary
Constructors
-
Method Summary
The color of the particles to be displayed.
int
The duration of the trail to be displayed.
The target of the particles to be displayed.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Trail
public Trail(@NotNull
@NotNull Location target,
@NotNull
@NotNull Color color,
int duration)
-
Method Details
-
getTarget
@NotNull
public @NotNull Location getTarget()
The target of the particles to be displayed.
- Returns:
- particle target
-
getColor
@NotNull
public @NotNull Color getColor()
The color of the particles to be displayed.
- Returns:
- particle color
-
getDuration
public int getDuration()
The duration of the trail to be displayed.
- Returns:
- trail duration