HYPE_Processing
HYPE_Processing copied to clipboard
Where to call loc()
Hi....
I'm trying to use HYPE in a OOP structure, with each class holding an instance of HYPE. Because of this, I need to position each instance of it, but am unsure in what class level (H, HDrawable, HStage) to do so... and exactly how to access the members of the child classes properly...
From my experience, you can use loc() on HDrawable, and from my code venturing I found that HStage have the childs you need. So you find HStage()._firstChild and iterate through all childs... Hope I helped
Yeah, I just realized that I can create an instance of HDrawable in HCallback() and call loc() onit there... thanks.