class SilenceSpace{ int x; int y; int w; color c = #a23004; SilenceSpace(int _x, int _w){ x = _x; y = 0; w = _w; } SilenceSpace(int _x, int _y, int _w){ x = _x; y = _y; w = _w; } void update(){ fill(c, 35); noStroke(); rectMode(CORNER); rect(x, y, w, height); displayText(); } void displayText(){ fill(#a23004); text("Silence", x + w/2, y+20); } }