setChar method

void setChar(
  1. int x,
  2. int y,
  3. Char char
)

Requests that the character at position x, y gets represented as char during the next render call

Implementation

void setChar(int x, int y, Char char) {
  if (_state.get(x, y) != char) {
    _changedState.set(x, y, char);
  } else {
    _changedState.set(x, y, null);
  }
}