Unnamed
public text v1 · immutable//a class for each button
class Button {
char* song; //the song associated with the button
int *x, *y, *w, *h; //size of button
char* text; //text on the button
SDLKey* key; //the key that activates the button
char* keyTex; //the text to be shown of which key to be pressed
void draw(); //a function to draw the button
void playSound(); //play the sound
Button(char*, int, int, int, int, char*, SDLKey, char*); //constructor
~Button(); //destructor
};