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