setChar method
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);
}
}