OutOfCombatCondition

public class OutOfCombatCondition extends Condition

Class OutOfCombatCondition. Provides outofcombatcondition functionality for the Hytale server.

java.lang.Object > Condition > OutOfCombatCondition

Field Summary

delay

protected Duration delay

Field delay.

world

final World world

Field world.

combatConfig

final CombatConfig combatConfig

Field combatConfig.

delayToUse

final Duration delayToUse

Field delayToUse.

damageDataComponent

final DamageDataComponent damageDataComponent

Field damageDataComponent.

lastCombatAction

final Instant lastCombatAction

Field lastCombatAction.

Method Detail

OutOfCombatCondition

public protected OutOfCombatCondition ()

Method OutOfCombatCondition.

eval0

public boolean eval0 (@Nonnull final ComponentAccessor componentAccessor, @Nonnull final Ref ref, @Nonnull final Instant currentTime)

Method eval0.

Parameters:
@Nonnull final ComponentAccessor componentAccessor
@Nonnull final Ref ref
@Nonnull final Instant currentTime

toString

public String toString ()

Method toString.