int j = ((Integer) movePath.elementAt(0)).intValue(); int y = j & 255; int x = (j >> 8) & 255; centerOnHex(new Coords(x, y));
int j = ((Integer) movePath.elementAt(0)).intValue(); int y = j & 255; int x = (j >> 8) & 255; centerOnHex(new Coords(x, y)); }
    public void addMovingUnit(Entity entity, java.util.Vector movePath) {    	Object[] o = new Object[2];    	o[0] = entity;    	o[1] = movePath;    	movingUnits.addElement(o);    	        GhostEntitySprite ghostSprite = new GhostEntitySprite(entity);        ghostEntitySprites.addElement(ghostSprite);    	// Center on the starting hex of the moving unit.		int j = ((Integer) movePath.elementAt(0)).intValue();		int y = j & 255;		int x = (j >> 8) & 255;    	centerOnHex(new Coords(x, y));    }