You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2023. It is now read-only.
Gammer0909 edited this page Feb 3, 2023
·
1 revision
Point Class
The Point class is used with the Animation Class. It has no methods, but two constructors-
Constructor Fields:
Constructor 1:
public Point(int x, int y, char pixel)
This constructor takes an x, a y, and a char
The Char is what the pixel will change to, Eg. if 'A' is inputted, then the specified '#' will change to 'A'.
Constructor 2:
public Point(int x, int y)
this constructor takes only two ints.