/** * Hunter-Prey simulator version 1.1 * Copyright 2011 Kenneth Mackin */ public class Agent{ int x; int y; int index; Field field; Agent(Field field, int x, int y, int index){ this.field = field; this.x = x; this.y = y; this.index = index; } public int getX(){ return x; } public int getY(){ return y; } public int getIndex(){ return index; } public void move(){} }