import processing.serial.*; SeisundiRuut[] ruudud=new SeisundiRuut[2]; Serial serial; void setup(){ ruudud[0]=new SeisundiRuut(10, 50, 10, 10, 0, (byte)97, (byte)98); ruudud[1]=new SeisundiRuut(60, 50, 10, 10, 1, (byte)99, (byte)100); println(Serial.list()); serial = new Serial(this, Serial.list()[2], 9600); } void draw(){ for(int i=0; ix && hy>y && hx