Class WalkCommand

java.lang.Object
rekit.gui.controller.commands.EntityCommand
rekit.gui.controller.commands.WalkCommand
All Implemented Interfaces:
Command

public class WalkCommand extends EntityCommand
This EntityCommand will cause a Walk of an Entity.
Author:
Dominik Fuchss, Angelo Aracri
  • Constructor Details

    • WalkCommand

      public WalkCommand(CommandSupervisor supervisor, Direction dir)
      Instantiate the WalkCommand.
      Parameters:
      supervisor - the supervisor
      dir - the direction
  • Method Details

    • execute

      public void execute(InputMethod inputMethod)