Home › Forums › TimelineFX Editor › Strange usage of Create in example code › Re: Re: Strange usage of Create in example code
Heh, I’m an idiot. I’ve worked a lot with wxWidgets and I liked how that created new instances using methods like so:
Method Create:tBullet(_x:Float, _y:Float, e:tlEffect, _bullettype:Int, _game:tVadersGame)
....
Return Self
End Method
But of course I somehow got mixed up between the function/method way of doing it and ended up somewhere between the 2. Anyway, thanks for pointing it out, I’m off to fix it on the tutorial as well lol.