class Button { //properties float x, y, w, h; int kind = 2; int r,g,b; //methods aka constructors bolean hit ( float xx, float yy ) { if ( kind == 1 ) { dist ( x, y, xx, yy )<~ } else if ( kind == z ) { x x+w x y+h void show ( ) { fill ( if ( kind == 1 ) { ellipse else ( kind == 2 ) { rect } //has x y w, h, r, or abc //does void show ( ) void hit ( ----- )