Proper way to extend a Phaser.Tweens.Timeline?

I need to add some functionalities to the Timeline class, but it is not clear to me how to extend the class, since its instances are created through two methods (createTimeline and timeline) and not through a regular constructor.

Is there a clean way to extend the class?

I think you’ll have to add a helper that works like timeline().

1 Like

I guess so. Thanks Samme.