@@ -0,0 +1,549 @@
+package model;%0A%0Aimport processing.core.PApplet;%0Aimport processing.core.PVector;%0A%0Apublic abstract class Amigo %7B%0A%0A%09protected Info info;%0A%09protected PVector local, dir, acel;%0A%09PApplet processing;%0A%0A%09public Amigo(PApplet processing, Info info) %7B%0A%0A%09%09this.processing = processing;%0A%09%09this.info = info;%0A%0A%09%09local = new PVector(processing.random(processing.width),%0A%09%09%09%09processing.random(processing.height));%0A%09%09dir = PVector.random2D();%0A%09%09acel = PVector.random2D();%0A%09%7D%0A%0A%09public void mova() %7B%0A%09%09local.add(dir);%0A%09%09local.add(acel);%0A%09%7D%0A%0A%09public void display() %7B%0A%09%7D%0A%7D

Add abstracao amigo