Package com.mg105.interface_adapters.map
Interface RoomInterpreterInterface
- All Known Implementing Classes:
RoomInterpreter
public interface RoomInterpreterInterface
Layout the current room.
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
Get the path of the current character sprite.RoomTileType[][]
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
Get the position of the player within the room.- Returns:
- the position of the player within the room.
-
getCharacterSprite
Get the path of the current character sprite.- Returns:
- the path of the current character sprite
-