Class Detonation
java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.Detonation
- All Implemented Interfaces:
me.deecaad.core.file.Serializer<Detonation>
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for serializerDetonation(Set<ExplosionTrigger> triggers, int delay, boolean removeProjectileOnDetonation, me.deecaad.core.mechanics.MechanicManager impactMechanics) -
Method Summary
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
-
Detonation
public Detonation()Default constructor for serializer -
Detonation
public Detonation(Set<ExplosionTrigger> triggers, int delay, boolean removeProjectileOnDetonation, me.deecaad.core.mechanics.MechanicManager impactMechanics)
-
-
Method Details
-
getTriggers
-
getDelay
public int getDelay() -
isRemoveProjectileOnDetonation
public boolean isRemoveProjectileOnDetonation() -
getImpactMechanics
public me.deecaad.core.mechanics.MechanicManager getImpactMechanics() -
serialize
@NotNull public Detonation serialize(@NotNull me.deecaad.core.file.SerializeData data) throws me.deecaad.core.file.SerializerException - Specified by:
serializein interfaceme.deecaad.core.file.Serializer<Detonation>- Throws:
me.deecaad.core.file.SerializerException
-