public void play() 
    {
        printWelcome();

        // Enter the main command loop.  Here we repeatedly read commands and
        // execute them until the game is over.

        boolean finished = false;
        while (! finished) 
        {
            Command command = parser.getCommand();
            finished = processCommand(command);
            if(!currentRoom.roomHasEnemy()){}
            else if(currentRoom.getEnemy().getHealth() > 0)//Zaq: If an enemy is in the room, this if calls for it to do something
            {
                currentRoom.getEnemy().getBehavior(p1);
            }
            if(p1.getHitpoints() <= 0)//Zaq: Checks if player has died
            {
                finished = true;
                System.out.println("You have died.");
            }
        }
        System.out.println("Thank you for playing.  Good bye.");
    }