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

[Sprite] emitter for sprite object #22

Closed
Shadowstep33 opened this issue Jun 21, 2018 · 1 comment
Closed

[Sprite] emitter for sprite object #22

Shadowstep33 opened this issue Jun 21, 2018 · 1 comment

Comments

@Shadowstep33
Copy link
Owner

should probably do an EventEmitter that broadcasts the sprite object for manipulation inside of *.component.ts files

I.E. if in html I draw a car to a screen, if I want to TweenIt I can access the Sprite that the SpriteComponent created.

@Shadowstep33
Copy link
Owner Author

This is actually unneeded. Currently a template reference can be used.

<sprite #mySpr [OtherSpriteProps...]></sprite>
<a2pfilter [container]="mySpr.spriteStage" [FilterProps...]></a2pfilter>

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

No branches or pull requests

1 participant