class Walker { PVector loc, vel, acc; float w,h; float theta; float wandertheta = random (-10,10); Walker(){ acc = new PVector(0,0); loc = new PVector(random(600),random(600)); //fix!!!! vel = new PVector(random(-10,1),random(-10,1)); } void update(){ // PVector newdir; // newdir = PVector.sub(m,getLoc()); // newdir.normalize(); // setVel(newdir); vel.add(acc); } void wander(){ } void render(){ } void setVel(PVector v) { vel = v.get(); } PVector getLoc() { return loc.get(); } }