update
This commit is contained in:
parent
64eae6bdd1
commit
b2534c7efd
@ -174,10 +174,10 @@ class Vehicle {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
drawPath() {
|
||||
drawPath(color = 128) {
|
||||
push();
|
||||
noFill();
|
||||
stroke(50);
|
||||
stroke(color);
|
||||
strokeWeight(1);
|
||||
if (this.path.length >= 10240) this.path.shift();
|
||||
beginShape();
|
||||
|
Loading…
Reference in New Issue
Block a user