public void SetPixel(int x, int y, char value) { if (x >= 0 && x <= width && y >= 0 && y <= height) { screen[y, x] = new ScreenPixel(value); } }
public void SetPixel(int x, int y, ScreenPixel value) { if (x >= 0 && x <= width && y >= 0 && y <= height) { screen[y, x] = value; } }
protected void ClearScreen() { for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { screen[i, j] = new ScreenPixel(' '); } } }
public void SetPixel(Vector2 point, ScreenPixel value) { SetPixel(point.x, point.y, value); }