Skip to content

Instantly share code, notes, and snippets.

@reefwing
Created December 22, 2018 01:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save reefwing/ae150851494306cf8b80d09f12a9e7d4 to your computer and use it in GitHub Desktop.
Integer Point class for Processing 3
class Point {
int x, y;
Point(int xPos, int yPos) {
x = xPos;
y = yPos;
}
int getX() {
return x;
}
int getY() {
return y;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment