diff --git a/DD2Switcher/DD2Switcher.csproj b/DD2Switcher/DD2Switcher.csproj index 1f8ff78..5ef8f7a 100644 --- a/DD2Switcher/DD2Switcher.csproj +++ b/DD2Switcher/DD2Switcher.csproj @@ -56,7 +56,6 @@ Form1.cs - diff --git a/DD2Switcher/Pixel.cs b/DD2Switcher/Pixel.cs deleted file mode 100644 index 6988065..0000000 --- a/DD2Switcher/Pixel.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Diagnostics; -using System.Drawing; - -namespace DD2Switcher; - -public class Pixel { - public Pixel(int x, int y, int R, int G, int B) { - this.x = x; - this.y = y; - this.R = R; - this.G = G; - this.B = B; - } - - private int x { get; } - private int y { get; } - private int R { get; } - private int G { get; } - private int B { get; } - - public bool ProcessBitmap(Bitmap bmp) { - var tempPixel = bmp.GetPixel(x, y); - return tempPixel.R >= R && tempPixel.B >= B && tempPixel.G >= G; - } -} \ No newline at end of file