When the gameloop calls funAct() for an interupt object, the function called has no refference to the object.
I think the object should be passed to funAct as a parameter. Passing the object will allow information to be stored as properties of the interupt object and accesed by funAct(object)
When the gameloop calls funAct() for an interupt object, the function called has no refference to the object.
I think the object should be passed to funAct as a parameter. Passing the object will allow information to be stored as properties of the interupt object and accesed by funAct(object)