public void interact(Game gm) {

		Par[] acts; 
		if (alive) {

			
			if(gm.onExit(x,y)){
				gm.MAZE[y][x].trshToken1 = 'S';
				 onExit=true;
				 return;
			}
			
			
			
			if (gm.onTop(x, y, Sword.class, 3)) {
				armed = true;
				token = 'A';
			}
			
			acts = gm.near(x, y, Dragon.class);
			if (acts.length != 0) {
				for (int i = 0; i < acts.length; i++) {
					Dragon Drag = (Dragon) gm.MAZE[acts[i].y][acts[i].x].char1;
					if (!Drag.sleeping && !Drag.slayn && !armed) {
						die(gm);
						return;
					}
				}
			}

			
		}
	}