// DrJava saved history v2 Maze m = MazeGenerator2.makeComplexMaze();//End of Interaction// Room r = m.getStartingRoom();//End of Interaction// r//End of Interaction// Warrior w1 = new Warrior("Harry", "Wealthierland", r, 5);//End of Interaction// Warrior w2 = new Warrior("Ron", "Richerland", m.getRoomAt(3, 1), 4);//End of Interaction// Guard g1 = new Guard("Hagrid", m.getRoomAt(3, 0), Direction.EAST, 10);//End of Interaction// r//End of Interaction// w1.move(Direction.EAST)//End of Interaction// Vending v = new Vending(5, 5);//End of Interaction// Coin c = new Coin();//End of Interaction// r.addThing(v);//End of Interaction// r.addThing(c);//End of Interaction// r.addThing(new Coin());//End of Interaction// r//End of Interaction// w1.pick(ThingType.COIN, 1)//End of Interaction// w1.pick(ThingType.COIN, 0)//End of Interaction// w1.buy(ThingType.BEER, 3)//End of Interaction// v//End of Interaction// w1.pick(ThingType.BEER, 0);//End of Interaction// w1.makeDrunk(g1, 0)//End of Interaction// w1.move(Direction.EAST)//End of Interaction// w2.pick(ThingType.COIN, 0)//End of Interaction// w2.move(Direction.WEST)//End of Interaction// w2.buy(ThingType.POTION, 2);//End of Interaction// w2.pick(ThingType.POTION, 0);//End of Interaction// w2.useCarriedItem(ThingType.POTION, 0)//End of Interaction// r.addThing(new Coin());//End of Interaction// w2.pick(ThingType.COIN, 0);//End of Interaction// w2.buy(ThingType.BEER, 6);//End of Interaction// w2.pick(ThingType.BEER, 0);//End of Interaction// w2.makeDrunk(w1, 0)//End of Interaction// w2.move(Direction.EAST);//End of Interaction// m.getRoomAt(3,1)//End of Interaction// w1//End of Interaction// w2.makeDrunk(w1, 0)//End of Interaction// m.getRoomAt(3,1)//End of Interaction//