I am working on a text based game in java and would like to use a python like dictionary for the map, the HashMap doesn't really work for me since i want to have multiple values linked to the one dictionary e.g.
In python you can define a dictionary like this:
room_x = { "name": "X",
"description":"Random description",
"exits": {linked to another dictionary},
"items": list_of_players_items}
Is something similar possible in Java?
Thanks in advance.