public void action() {
    	if(log.isLoggable(Logger.WARNING))
    		log.log(Logger.WARNING, "(de-)register agent...");
		
		ACLMessage msg;

		msg = new ACLMessage(ACLMessage.REQUEST);
		msg.setSender(myAgent.getAID());
		msg.addReceiver(((HunterAgent) myAgent).getGameAgentDescription().getName());
//		/*
//		 * Der Agent wird zunaechst von Spiel AB-...
//		 */
//		msg.setContent(WumpusConsts.ACTION_DEREGISTER);
//		myAgent.send(msg);
		
		/*
		 * ... und dann ANgemeldet.
		 */
		msg.setContent(WumpusConsts.ACTION_REGISTER);
		myAgent.send(msg);
		
//		try {
//			Thread.sleep(2000);
//		} catch (InterruptedException e) {
//			throw new RuntimeException(e);
//		}
//		msg.setContent(WumpusConsts.ACTION_DEREGISTER);
//		myAgent.send(msg);
		
		
	}