-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
Description
I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me.
For extension variables I mean something like UnitWrapper ... int UnitWrapper.killCount ... u.killCount += 1 as an example. I think that their initialization can be hooked to construct and onDestroy (like hook UnitWrapper.construct /n/t killCount = 0 for my example). And I mean they're restricted to class types only.
Probably they could be allowed only with special flags like hookable and extensible.