I am having issues setting self variables with a Drawable class. I have a method to set the variables:
function setInfo(numerator_ as Float, denominator_ as Float) as Void { self.numerator = numerator_; self.denominator = denominator_; }
In the draw method I am trying to address these variables as self.numerator and self.denominator. But when the draw method runs, these variables are empty. Does anyone know why? Thanks.