Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add events as Phaser Signals #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattcolman
Copy link
Collaborator

@mattcolman mattcolman commented Oct 17, 2017

pretty sure this works, although I've never written typescript before.

I tried to compile my code to test but get the error Only 'amd' and 'system' modules are supported alongside --outFile

This code allows to use dragonbones events.
e.g.
sprite.events.onDBComplete.add(() => { // do something })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant