public Anim(byte[] buf) {
			id = Utils.int16d(buf, 0);
			d = Utils.uint16d(buf, 2);
			ids = new int[Utils.uint16d(buf, 4)];
			if (buf.length - 6 != ids.length * 2)
				throw (new LoadException("Invalid anim descriptor in " + name,
						Resource.this));
			for (int i = 0; i < ids.length; i++)
				ids[i] = Utils.int16d(buf, 6 + (i * 2));
		}