Package com.skillw.particlelib.pobject
Class FilledCircle
-
- All Implemented Interfaces:
-
com.skillw.particlelib.pobject.Playable
public final class FilledCircle extends ParticleObject implements Playable
表示一个实心圆
Zoyn
-
-
Constructor Summary
Constructors Constructor Description FilledCircle(Location origin, Double radius, Integer sample)
-
Method Summary
Modifier and Type Method Description final Double
getRadius()
Unit
show()
final List<Location>
calculateLocations(Location origin, Long count)
获得实心圆中所有点的Location Unit
play()
Unit
playNextPoint()
final Unit
playWithTime(Long time, Long count)
使用给定的时间播放粒子 -
-
Method Detail
-
calculateLocations
final List<Location> calculateLocations(Location origin, Long count)
获得实心圆中所有点的Location
- Parameters:
origin
- 原点count
- 个数- Returns:
粒子播放的点
-
playNextPoint
Unit playNextPoint()
-
playWithTime
final Unit playWithTime(Long time, Long count)
使用给定的时间播放粒子
- Parameters:
time
- 持续时间, 单位 tickcount
- 粒子数量
-
-
-
-