Skip to content

Instantly share code, notes, and snippets.

View ochsec's full-sized avatar

Christopher Ochsenreither ochsec

View GitHub Profile
// This is the applet class with the main method
// Accompanying files are class files:
// - Manager.pde: do some initial setup
// - Player.pde: Player object class
// - Dart.pde: Dart object class
// - Game assets (images, sound) are contained in the data/ folder
boolean collision;
int state, tmpOrientation, nextDart;
int dartWidth, dartHeight, playerWidth, playerHeight, dartSpeed;