// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public enum XDirection {
	North(1001),
	South(1002),
	West(1003),
	East(1004);
	private int n;
	private XDirection(int n) {
		this.n = n;
	}
	public String toString() {
		return String.format("%s (%d)", super.toString(), n);
	}
	public int getN() {
		return n;
	}
}
