All Superinterfaces:
ObservableTileContent
All Known Implementing Classes:
EditorHamster, GameHamster, ReadOnlyHamster

public interface ObservableHamster extends ObservableTileContent
Interface to observe changes the internal hamster on a territory Provides read only access to the hamster It is not possible to find out how many grains a hamster has via this interface
  • Property Details

  • Method Details

    • getDirection

      Direction getDirection()
      Get the current hamster looking direction.
      Returns:
      The current hamster's looking direction.
    • directionProperty

      ReadOnlyObjectProperty<Direction> directionProperty()
      Getter for the direction property of the hamster, which represents the direction this hamster is facing
      See Also:
      getDirection()