NPCStepCommand

public class NPCStepCommand extends AbstractWorldCommand

Command for npcste operations. Registered with the command system and callable by players.

java.lang.Object > AbstractWorldCommand > NPCStepCommand

Field Summary

dt

final float dt

Field dt.

npc

final NPCEntity npc

Field npc.

ref

final Ref ref

Field ref.

playerRef

final Ref playerRef

Field playerRef.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

uuid

final UUID uuid

Field uuid.

Method Detail

NPCStepCommand

public public NPCStepCommand ()

Method NPCStepCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final World world
@Nonnull final Store store

StepComponent

public new StepComponent (dt)

Method StepComponent.

Parameters:
dt dt

getNPC

Method getNPC.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store