Package com.sucy.skill.cast
Class CirclePreview
java.lang.Object
com.sucy.skill.cast.Preview
com.sucy.skill.cast.RoundPreview
com.sucy.skill.cast.CirclePreview
An indicator for a circular pattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidplayParticles(org.bukkit.entity.Player player, ParticleSettings particle, org.bukkit.Location location, int step) Creates the packets for the indicator, adding them to the list
-
Constructor Details
-
CirclePreview
public CirclePreview(double radius) - Parameters:
radius- radius of the circle
-
-
Method Details
-
playParticles
public void playParticles(org.bukkit.entity.Player player, ParticleSettings particle, org.bukkit.Location location, int step) Creates the packets for the indicator, adding them to the list- Specified by:
playParticlesin classPreview- Parameters:
particle- particle type to usestep- animation step
-
getRadius
public double getRadius()- Specified by:
getRadiusin classRoundPreview
-