Condition

abstract class Condition

Class Condition. Provides condition functionality for the Hytale server.

java.lang.Object > Condition

Field Summary

inverse

protected boolean inverse

Field inverse.

Method Detail

Condition

public protected Condition ()

Method Condition.

eval

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

Method eval.

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

allConditionsMet

static boolean allConditionsMet (@Nonnull final ComponentAccessor componentAccessor, @Nonnull final Ref ref, @Nonnull final Instant currentTime, @Nonnull final EntityStatType.Regenerating regenerating)

Method allConditionsMet.

Parameters:
@Nonnull final ComponentAccessor componentAccessor
@Nonnull final Ref ref
@Nonnull final Instant currentTime
@Nonnull final EntityStatType.Regenerating regenerating

toString

public String toString ()

Method toString.