Open BigK-hub opened 1 year ago
You could try (may not be a good idea) to make the Button class a nested class of Example
.
I believe this might get rid of the need to store the pge pointer.
Lines 213 to 220 can be a for loop.
btw the c++ version is <cstdint>
currently the code is a bit everywhere instead being packed into neat functions which each do one task.