@Override
	public void setRawExit(int direction, Environmental to)
	{
		if((direction<0)||(direction>=exits.length))
			return;
		final Exit E=exits[direction];
		if(to instanceof Room)
			to=((Room)to).getRawExit(direction);

		if(E==to) return;
		if(E!=null) E.exitUsage((short)-1);

		if(to instanceof Exit)
		{
			((Exit)to).exitUsage((short)1);
			exits[direction]=(Exit)to;
		}
		else
			exits[direction]=null;

		/**
		 * cant be done
		 *
		if((E!=null)&&(E.exitUsage((short)0)==0))
			E.destroy();
		 */
	}