dimanche 7 août 2016

Zähler, der erst wieder zählt nachdem Pixel wieder andere Farbe hat

dimanche 7 août 2016
Hey,
ich arbeite an einem Programm dass einen Counter höher setzt, wenn ein bestimmter Pixel eine bestimmte Farbe hat. So sieht das Ganze bisher aus:
Code (Text):
public class counter {
   
    public static boolean f = false;
    private static Robot robot;
    public static int count = 0;
   
    public static void re1(){
       
        Color Pixel = new Color(0, 0, 0);
        Color color = robot.getPixelColor(900, 900);
       
        while(color.equals(Pixel)){
            f = true;...
Zähler, der erst wieder zählt nachdem Pixel wieder andere Farbe hat

Zähler, der erst wieder zählt nachdem Pixel wieder andere Farbe hat

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket