• Just a note that I'm implementing this as a variable as @rigrig suggested, and I modified clearRect/etc so they can take an object as well as numbers.

    So now it's as easy as:

    g.clearRect(Bangle.appRect);
    
About

Avatar for Gordon @Gordon started