20 char charAt(
int col,
int row)
const;
26 void charAtPut(
int col,
int row,
char value);
40 std::vector<std::vector<char>> buffer_;
Represents the abstract notion of a character-addressable writable screen.
Serializable implementation of Screen using a 2D character buffer.
void charAtPut(int col, int row, char value)
std::string toString() const
StringScreen(int width, int height)
char charAt(int col, int row) const
Fetch the character at the given coordinate pair.