setBackground method
Sets background color at coordinates.
Implementation
@override
void setBackground(int x, int y, int bg) {
if (x >= 0 && x < bounds.width && y >= 0 && y < bounds.height) {
parent.setBackground(bounds.x + x, bounds.y + y, bg);
}
}