Fixed all processing related errors

This commit is contained in:
Quinn
2023-04-05 23:01:51 -05:00
parent c17ee2e960
commit 913dc74fd6
5 changed files with 13 additions and 11 deletions

View File

@@ -1,11 +1,12 @@
import processing.core.*;
import java.util.ArrayList;
import static java.lang.Math.PI;
import static processing.core.PApplet.degrees;
import static processing.core.PApplet.radians;
import processing.core.PVector;
import processing.core.PApplet;
public class Car{
public class Car extends PApplet{
PVector pose = new PVector(0,0); // the car's x, y position
float angle = 0; // the current angle that the car is at.
int carLength = 50;