setCharacter method

  1. @override
void setCharacter(
  1. int x,
  2. int y,
  3. String char
)
override

Sets character at coordinates.

Implementation

@override
void setCharacter(int x, int y, String char) {
  if (x >= 0 && x < bounds.width && y >= 0 && y < bounds.height) {
    parent.setCharacter(bounds.x + x, bounds.y + y, char);
  }
}