package lilWorld; import java.util.ArrayList; import java.util.List; import processing.core.PApplet; import processing.core.PVector; public class RunWorld extends PApplet{ CreeperSystem cs; DrifterSystem ds; SprigSystem sps; public static void main(String[] args){ PApplet.main(new String[] {"RunWorld"}); } public void setup() { size(600,600); frameRate(24); cs = new CreeperSystem(this,30,3,13); ds = new DrifterSystem(this, 9, 20, 50); sps = new SprigSystem(this,80,10,40); } public void draw() { background(132,211,235); sps.showAllCreatures(); cs.pushAllCreatures(); cs.moveAllCreatures(); cs.showAllCreatures(); ds.pushAllCreatures(); ds.moveAllCreatures(); ds.showAllCreatures(); } }