-
Notifications
You must be signed in to change notification settings - Fork 485
Open
Labels
Milestone
Description
A signal (maybe typed) called when a FlxBasic's container is changed
Downsides
This can get kinda hairy with adding/removing destroyed things, some options:
- Make these signals
final onAdded = new FlxSignal();and only clear it in destroy - Don't use a signal just have a
function setContainer(value) { container = value; }that can be extended. Note: i'm not really into haxe's setters for this case. for reasons I'll list, upon request