public void setInt(int dimention, int value) { ((GridLocation) itemLocation).setInt(dimention, value); }
public void updateMovesDown() { int currY = ((GridLocation) itemLocation).intValueOf(1); ((GridLocation) itemLocation).setInt(1, currY + movesDown); movesDown = 0; }