public Playfield(int nagents, double dt, int ddt) {
        DT = dt;
        DDT = ddt;
        agents = new Agent[nagents];
        for (int i = 0; i < nagents; i++)
            do
                agents[i] = new Bug(this, "Bug " + i);
            while(collision(agents[i], false));
    }