protected void onTick() {
		AgentContainer container = this.myAgent.getContainerController();
		try {
		switch (state) {
			case 0:
				container.createNewAgent("Banana", Banana.class.getName(), new Object[0]).start();
				break;
			case 1:
				container.createNewAgent("Jim", Jim.class.getName(), new Object[0]).start();
				break;
			case 2:			
				container.createNewAgent("Ateo", Ateo.class.getName(), new Object[0]).start();
				break;
			case 3:
				container.createNewAgent("NyanCat", NyanCat.class.getName(), new Object[0]).start();
				break;
			case 4:
				container.createNewAgent("Hal 9000", Hal.class.getName(), new Object[0]).start();
				break;
			default:
				container.createNewAgent("Waiter", Waiter.class.getName(), new Object[0]).start();
				
				DFServiceUtils.sendMsgToService(myAgent, "Que comience la fiesta!", 
						Constants.GUEST_SERVICE, Constants.BEGIN_PARTY);
				GraphicUtils.appendMessage(myAgent.getLocalName() + ": Ya estamos todos!");
				GraphicUtils.appendMessage(myAgent.getLocalName() + ": Podeis empezar a comer y beber!");
				
				myAgent.addBehaviour(new HostPartyBehaviour(myAgent));
				myAgent.party = true;
				stop();
				break;
			}
		} catch (StaleProxyException e) {				
			e.printStackTrace();
		}
		state++;
	}