Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Point Class

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.

Clone this wiki locally