/**
 * Copyright © 2010, Res Interactive, LLC. All Rights Reserved.
 */
package com.tootsville.env;

import org.starhope.appius.except.GameLogicException;
import org.starhope.appius.except.NotFoundException;
import org.starhope.appius.game.AppiusClaudiusCaecus;
import org.starhope.appius.game.RunCommands;
import org.starhope.appius.game.Zone;
import org.starhope.appius.game.npc.plebeian.Plebeian;
import org.starhope.appius.user.Nomenclator;

/**
 * WRITEME: Document this type.
 *
 * @author brpocock@star-hope.org
 *
 */
public class PlebTest implements RunCommands {

	/**
	 * @see org.starhope.appius.game.RunCommands#newZone(org.starhope.appius.game.Zone)
	 */
	@Override
	public void newZone (final Zone z) {
		Nomenclator.getUserByLogin ("Props").setAgeGroupToSystem ();
		try {
			new Plebeian (z, "Props");
		} catch (NotFoundException e) {
			AppiusClaudiusCaecus.reportBug (
					"Caught a NotFoundException in PlebTest.newZone ",
					e);
		} catch (GameLogicException e) {
			AppiusClaudiusCaecus.reportBug (
					"Caught a GameLogicException in PlebTest.newZone ",
					e);
		}
	}

	/**
	 * @see org.starhope.appius.game.RunCommands#run()
	 */
	@Override
	public void run () {
		// no op

	}

}
