Interface RoomInterpreterInterface

All Known Implementing Classes:
RoomInterpreter

public interface RoomInterpreterInterface
Layout the current room.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Get the path of the current character sprite.
    Lay out the current room as a square of tiles to be displayed.
    @NotNull Point
    Get the position of the player within the room.
  • Method Details

    • getCurrentRoom

      RoomTileType[][] getCurrentRoom()
      Lay out the current room as a square of tiles to be displayed.
      Returns:
      the state of the current room.
    • getPlayer

      @NotNull @NotNull Point getPlayer()
      Get the position of the player within the room.
      Returns:
      the position of the player within the room.
    • getCharacterSprite

      @NotNull @NotNull String getCharacterSprite()
      Get the path of the current character sprite.
      Returns:
      the path of the current character sprite