Class ClusterBomb

java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.ClusterBomb
All Implemented Interfaces:
me.deecaad.core.file.Serializer<ClusterBomb>

public class ClusterBomb extends Object implements me.deecaad.core.file.Serializer<ClusterBomb>
  • 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

      public Projectile getProjectile()
    • getSpeed

      public double getSpeed()
    • getSplits

      public int getSplits()
    • getBombs

      public int getBombs()
    • getDetonation

      public Detonation 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:
      serialize in interface me.deecaad.core.file.Serializer<ClusterBomb>
      Throws:
      me.deecaad.core.file.SerializerException