|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.quartercode.quarterbukkit.api.particle.ParticleDescription
public class ParticleDescription
This class describes the look of one particle run.
| Constructor Summary | |
|---|---|
ParticleDescription()
Creates a new empty particle description. |
|
ParticleDescription(org.bukkit.Color... colors)
Creates a new particle description and sets the particle Colors as an array/vararg. |
|
ParticleDescription(java.util.List<org.bukkit.Color> colors)
Creates a new particle description and sets the particle Colors as a List. |
|
ParticleDescription(ParticleShape shape)
Creates a new particle description and sets the ParticleShape. |
|
ParticleDescription(ParticleShape shape,
org.bukkit.Color... colors)
Creates a new particle description and sets the ParticleShape and the particle Colors as an array/vararg. |
|
ParticleDescription(ParticleShape shape,
java.util.List<org.bukkit.Color> colors)
Creates a new particle description and sets the ParticleShape and the particle Colors as a List. |
|
| Method Summary | |
|---|---|
ParticleDescription |
addColor(org.bukkit.Color color)
Adds a particle Color. |
ParticleDescription |
addFadeColor(org.bukkit.Color fadeColor)
Adds a fade particle Color. |
java.util.List<org.bukkit.Color> |
getColors()
Returns the particle Colors. |
java.util.List<org.bukkit.Color> |
getFadeColors()
Returns the fade particle Colors. |
ParticleShape |
getShape()
Returns the ParticleShape. |
ParticleDescription |
removeColor(org.bukkit.Color color)
Removes a particle Color. |
ParticleDescription |
removeFadeColor(org.bukkit.Color fadeColor)
Removes a fade particle Color. |
ParticleDescription |
setColors(org.bukkit.Color... colors)
Sets the particle Colors as an array/vararg. |
ParticleDescription |
setColors(java.util.List<org.bukkit.Color> colors)
Sets the particle Colors as a List. |
ParticleDescription |
setFadeColors(org.bukkit.Color... fadeColors)
Sets the fade particle Colors as an array/vararg. |
ParticleDescription |
setFadeColors(java.util.List<org.bukkit.Color> fadeColors)
Sets the fade particle Colors as a List. |
ParticleDescription |
setShape(ParticleShape shape)
Sets the ParticleShape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticleDescription()
public ParticleDescription(ParticleShape shape)
ParticleShape.
shape - The ParticleShape.public ParticleDescription(org.bukkit.Color... colors)
Colors as an array/vararg.
colors - The particle Colors as an array/vararg.public ParticleDescription(java.util.List<org.bukkit.Color> colors)
Colors as a List.
colors - The particle Colors as a List.
public ParticleDescription(ParticleShape shape,
org.bukkit.Color... colors)
ParticleShape and the particle Colors as an array/vararg.
shape - The ParticleShape.colors - The particle Colors as an array/vararg.
public ParticleDescription(ParticleShape shape,
java.util.List<org.bukkit.Color> colors)
ParticleShape and the particle Colors as a List.
shape - The ParticleShape.colors - The particle Colors as a List.| Method Detail |
|---|
public ParticleShape getShape()
ParticleShape.
ParticleShape.public ParticleDescription setShape(ParticleShape shape)
ParticleShape.
shape - The ParticleShape.
public java.util.List<org.bukkit.Color> getColors()
Colors.
public ParticleDescription setColors(org.bukkit.Color... colors)
Colors as an array/vararg.
colors - The particle Colors as an array/vararg.
public ParticleDescription setColors(java.util.List<org.bukkit.Color> colors)
Colors as a List.
colors - The particle Colors as a List.
public ParticleDescription addColor(org.bukkit.Color color)
Color.
color - The particle Color to add.
public ParticleDescription removeColor(org.bukkit.Color color)
Color.
color - The particle Color to remove.
public java.util.List<org.bukkit.Color> getFadeColors()
Colors.
Colors.public ParticleDescription setFadeColors(org.bukkit.Color... fadeColors)
Colors as an array/vararg.
fadeColors - The fade particle Colors as an array/vararg.
public ParticleDescription setFadeColors(java.util.List<org.bukkit.Color> fadeColors)
Colors as a List.
fadeColors - The fade particle Colors as a List.
public ParticleDescription addFadeColor(org.bukkit.Color fadeColor)
Color.
fadeColor - The fade particle Color to add.
public ParticleDescription removeFadeColor(org.bukkit.Color fadeColor)
Color.
fadeColor - The fade particle Color to remove.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||