Interface CharacterMoverInterface

All Known Implementing Classes:
CharacterMover

public interface CharacterMoverInterface
An interface that represents a class that moves a character.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Move the character by direction.
  • Method Details

    • generateMapMoveBy

      void generateMapMoveBy(Point direction)
      Move the character by direction.
      Parameters:
      direction - the direction to move in. The magnitude of direction must be 1 and must be in exactly one direction.