public void getNewCoordinates() { x = (int) Math.floor(Math.random() * dim.adjW(900) + dim.adjW(100)); y = (int) Math.floor(Math.random() * dim.adjH(675) + dim.adjH(100)); }
private long getRandomAppearTime() { return (long) Math.floor(Math.random() * 180000 + 5000); }