public class FlipCommand extends AbstractPlayerCommand
Command for fli operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > FlipCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
Method Detail
FlipCommand
public
public
FlipCommand
()
Method FlipCommand.
FlipWithDirectionCommand
public
new
FlipWithDirectionCommand
()
Method FlipWithDirectionCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
executeFlip
static
void
executeFlip
(@Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nullable final RelativeDirection direction)
Method executeFlip.
- Parameters:
@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nullable final RelativeDirectiondirection