xxxxxxxxxx
// We're making a simulation for 2D vision.
// Global variables!
int WIDTH = 600;
int HEIGHT = 600;
PVector loc = new PVector(250, 350);
float dir = 0;
float dirV = 0;
float speed = 0;
KeyInput currentKeyInput;
// Setup stuff!
void setup() {
size(WIDTH, HEIGHT);
frameRate(60);
currentKeyInput = new KeyInput();
}