public class ActionApplyEntityEffect extends ActionBase
Class ActionApplyEntityEffect. Provides actionapplyentityeffect functionality for the Hytale server.
java.lang.Object > ActionBase > ActionApplyEntityEffect
Field Summary
targetRef
final
Ref
targetRef
Field targetRef.
entityEffect
final
EntityEffect
entityEffect
Field entityEffect.
effectControllerComponent
final
EffectControllerComponent
effectControllerComponent
Field effectControllerComponent.
Method Detail
ActionApplyEntityEffect
public
public
ActionApplyEntityEffect
(@Nonnull final BuilderActionApplyEntityEffect builder, @Nonnull final BuilderSupport support)
Method ActionApplyEntityEffect.
- Parameters:
@Nonnull final BuilderActionApplyEntityEffectbuilder@Nonnull final BuilderSupportsupport
canExecute
public
boolean
canExecute
(@Nonnull final Ref ref, @Nonnull final Role role, @Nullable final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)
Method canExecute.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerole@Nullable final InfoProvidersensorInfofinal doubledt@Nonnull final Storestore
execute
public
boolean
execute
(@Nonnull final Ref ref, @Nonnull final Role role, @Nonnull final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerole@Nonnull final InfoProvidersensorInfofinal doubledt@Nonnull final Storestore