IsInStateCondition

public class IsInStateCondition extends SimpleCondition

Class IsInStateCondition. Provides isinstatecondition functionality for the Hytale server.

java.lang.Object > SimpleCondition > IsInStateCondition

Field Summary

state

protected String state

Field state.

subState

protected String subState

Field subState.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

stateSupport

final StateSupport stateSupport

Field stateSupport.

Method Detail

IsInStateCondition

public protected IsInStateCondition ()

Method IsInStateCondition.

getState

public String getState ()

Method getState.

evaluate

protected boolean evaluate (final int selfIndex, @Nonnull final ArchetypeChunk archetypeChunk, final Ref target, final CommandBuffer commandBuffer, final EvaluationContext context)

Method evaluate.

Parameters:
final int selfIndex
@Nonnull final ArchetypeChunk archetypeChunk
final Ref target
final CommandBuffer commandBuffer
final EvaluationContext context

toString

public String toString ()

Method toString.