Newer
Older
JumpingGame / src / Pair.java
// 2 dim
public class Pair<Type> {
	private Type x;
	private Type y;

	public Pair(Type x, Type y) {
		this.x = x;
		this.y = y;
	}

	public void setX(Type x) {
		this.x = x;
	}

	public void setY(Type y) {
		this.y = y;
	}

	public Type getX() {
		return (this.x);
	}

	public Type getY() {
		return (this.y);
	}
}