Package com.mg105.use_cases.map
Interface CharacterMoverInterface
- All Known Implementing Classes:
CharacterMover
public interface CharacterMoverInterface
An interface that represents a class that moves a character.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateMapMoveBy
(Point direction) Move the character by direction.
-
Method Details
-
generateMapMoveBy
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.
-