package org.apollo.game.event.impl;

import org.apollo.game.event.Event;

/**
 * An event sent when the user moves the camera.
 * 
 * @author Toby
 */
public class CameraMovementEvent extends Event {

	/**
	 * The camera x.
	 */
	private final int cameraX;

	/**
	 * The camera y.
	 */
	private final int cameraY;

	/**
	 * Creates a new camera movement event.
	 * 
	 * @param cameraX The camera x.
	 * @param cameraY The camera y.
	 */
	public CameraMovementEvent(int cameraX, int cameraY) {
		this.cameraX = cameraX;
		this.cameraY = cameraY;
	}

	/**
	 * Gets the camera x.
	 * 
	 * @return The camera x.
	 */
	public int getCameraX() {
		return cameraX;
	}

	/**
	 * Gets the camera y.
	 * 
	 * @return The camera y.
	 */
	public int getCameraY() {
		return cameraY;
	}

}
@@ -139,12 +139,13 @@
 hor 
-Toby
+Major
 %0A */
@@ -770,8 +770,9 @@
 Y;%0A%09%7D%0A%0A%7D
+%0A

Update CameraMovementEvent.java.