package org.apollo.game.event.impl;

import org.apollo.game.event.Event;
import org.apollo.game.model.Position;

/**
 * An {@link Event} sent by the client when an item is used on an object.
 * 
 * @author Major
 */
public final class ItemOnObjectEvent extends InventoryItemEvent {

	/**
	 * The object id the item was used on.
	 */
	private final int objectId;

	/**
	 * The position of the object.
	 */
	private final Position position;

	/**
	 * Creates an item on object event.
	 * 
	 * @param interfaceId The interface id.
	 * @param id The item id.
	 * @param slot The slot the item is in.
	 * @param objectId The object id.
	 * @param x The x coordinate.
	 * @param y The y coordinate.
	 */
	public ItemOnObjectEvent(int interfaceId, int id, int slot, int objectId, int x, int y) {
		super(0, interfaceId, id, slot);
		this.objectId = objectId;
		this.position = new Position(x, y);
	}

	/**
	 * Gets the object id.
	 * 
	 * @return The object id.
	 */
	public int getObjectId() {
		return objectId;
	}

	/**
	 * Gets the position of the object.
	 * 
	 * @return The position.
	 */
	public Position getPosition() {
		return position;
	}

}
@@ -533,16 +533,20 @@
 @param i
+temI
 d The it
@@ -563,17 +563,21 @@
  @param 
-s
+itemS
 lot The 
@@ -751,16 +751,24 @@
 nt i
+temI
 d, int 
-s
+itemS
 lot,
@@ -827,12 +827,20 @@
 d, i
-d, s
+temId, itemS
 lot)

Clarify parameter names in item on object event.