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