OOP class. Dungeon game in Java.