public void use(Room r)
    {
        if(r.returnExits().containsValue(unlocks))
        {
            unlocks.setIsLocked(!unlocks.getIsLocked());
            System.out.println("you used the "+ getName());
        }
        else
            System.out.println("You can not use that here.");
    }