What are we going to do with Canvas?
We'll draw on it (on its matrix).
Therefore, we need two methods:
void setPoint(double x, double y, char c);
void drawMatrix(double x, double y, int[][] matrix, char c).
The first method (setPoint) will "set a point with coordinates (x, y) to color c".
Arkanoid (part 10)
- 26
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Павел Артеменко
6 May 2019, 17:49
They literally mean "round", not cast.
+6