Class ClusterBomb
java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.ClusterBomb
- All Implemented Interfaces:
me.deecaad.core.file.Serializer<ClusterBomb>
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for serializerClusterBomb(Projectile projectile, double speed, int splits, int bombs, Detonation detonation, me.deecaad.core.mechanics.MechanicManager mechanics) -
Method Summary
Modifier and TypeMethodDescriptionintgetBombs()doublegetSpeed()intserialize(me.deecaad.core.file.SerializeData data) voidtrigger(WeaponProjectile projectile, org.bukkit.entity.LivingEntity shooter, org.bukkit.Location splitLocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.deecaad.core.file.Serializer
canUsePathTo, getKeyword, getName, getParentKeywords, getWikiLink, letPassThrough, shouldSerialize, tryPathTo, useLater
-
Constructor Details
-
ClusterBomb
public ClusterBomb()Default constructor for serializer -
ClusterBomb
public ClusterBomb(Projectile projectile, double speed, int splits, int bombs, Detonation detonation, me.deecaad.core.mechanics.MechanicManager mechanics)
-
-
Method Details
-
getProjectile
-
getSpeed
public double getSpeed() -
getSplits
public int getSplits() -
getBombs
public int getBombs() -
getDetonation
-
trigger
public void trigger(WeaponProjectile projectile, org.bukkit.entity.LivingEntity shooter, org.bukkit.Location splitLocation) -
serialize
@NotNull public ClusterBomb serialize(@NotNull me.deecaad.core.file.SerializeData data) throws me.deecaad.core.file.SerializerException - Specified by:
serializein interfaceme.deecaad.core.file.Serializer<ClusterBomb>- Throws:
me.deecaad.core.file.SerializerException
-