Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class BoxParticle extends Particle {
int color;
int size;
public BoxParticle(PVector location, int color, int size) {
this.color = color;
this.size = size;
//overrides Particle's render()
public void render() {
rect(getLoc().x, getLoc().y, size, size);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment