| 695 | } |
| 696 | |
| 697 | Pen PenArray::get_tile(unsigned int x, unsigned int y) |
| 698 | { |
| 699 | if (x < dimx && y < dimy) |
| 700 | return buffer[(y * dimx) + x]; |
| 701 | return Pen(0, 0, 0, 0, false); |
| 702 | } |
| 703 | |
| 704 | void PenArray::set_tile(unsigned int x, unsigned int y, Screen::Pen pen) |
| 705 | { |
no test coverage detected