Hi All,
I need to generate objects in greenfoot world, this must be complitly random but in specific locations. How can I achieve this?
This is what I have done so far but I dont know how to complete this.
thnx for helping
public void spawnContainer()
{
ContainerRoodDek1 containerRoodDek1 = new ContainerRoodDek1();
ContainerGeelDek1 containerGeelDek1 = new ContainerGeelDek1();
ContainerGroenDek1 containerGroenDek1 = new ContainerGroenDek1();
ContainerBlauwDek1 containerBlauwDek1 = new ContainerBlauwDek1();
addObject(containerRoodDek1, 255,206);
}
