Class AbstractCompositeEntity.DefaultDamageWaveDamageHandler
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractCompositeEntity.DefaultDamageWaveDamageHandler
-
- All Implemented Interfaces:
BiFunction<DamageWavePoint,DamageWaveOptions,Double>
- Enclosing class:
- AbstractCompositeEntity
public static class AbstractCompositeEntity.DefaultDamageWaveDamageHandler extends Object implements BiFunction<DamageWavePoint,DamageWaveOptions,Double>
Implements default damage handling on a single tile. See javadoc at AbstractCompositeEntity#damageWave for a description
-
-
Constructor Summary
Constructors Constructor Description DefaultDamageWaveDamageHandler(AbstractCompositeEntity parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
apply(DamageWavePoint damageWavePoint, DamageWaveOptions damageWaveOptions)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
DefaultDamageWaveDamageHandler
public DefaultDamageWaveDamageHandler(AbstractCompositeEntity parent)
-
-
Method Detail
-
apply
public Double apply(DamageWavePoint damageWavePoint, DamageWaveOptions damageWaveOptions)
- Specified by:
apply
in interfaceBiFunction<DamageWavePoint,DamageWaveOptions,Double>
-
-