// MOTH becoming object orientated round2 Moth motha = new Moth(250,250, 193, 170, 176, 255,6); Moth mothy = new Moth(100,50, 20, 150, 100,255,2); Moth motho = new Moth(175, 150, 150, 100, 20,255,3); Moth mothily = new Moth(160, 153,28,131,60, 0,1); Moth mothomo = new Moth(325,150, 234, 76,153, 125,4); Moth mothina = new Moth(270, 120, 255,243,3, 140,5); Moth mothia = new Moth(180, 67, 119, 129,139, 150,7); void setup(){ size(500, 500); stroke (255); smooth(); } void draw(){ background(234, 37, 7); motha.move(); motha.display(); mothy.move(); mothy.display(); motho.move(); motho.display(); mothily.move(); mothily.display(); mothomo.move(); mothomo.display(); mothina.move(); mothina.display(); mothia.move(); mothia.display(); }