- void drawNumBox(int xPos, int yPos, int label, int state, int cube_state) {
- if (cube_state > 1) {
- fill(#FF0000);
- rect(xPos-2, yPos-2, 20, 20);
- }
- drawNumBox(xPos, yPos, label, state);
+ void drawNumBox(int xPos, int yPos, String label, int state) {
+ drawNumBox(xPos, yPos, "" + label, state, CUBE_STATE_USED);
+ }
+
+ void drawNumBox(int xPos, int yPos, int label, int state, int cubeState) {
+ drawNumBox(xPos, yPos, "" + label, state, cubeState);