class Boat { float xrow; float x; float y; float bS; float tI; Boat(float tempX,float tempY, float tempbS){ x=tempX; y=tempY; bS= tempbS; xrow=0.01*bS; } void row (){ x = x + xrow; } void deploy () { if (millis() > 80000){ fill(152,42, 6); stroke (0); beginShape(); vertex(x, y); vertex(x, y-bS); vertex(x+ (3*bS), y-bS); vertex(x+(2.25*bS), y); endShape(CLOSE); } } }