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

x/mobile/exp/sprite: pass config.Event to arrangers #11761

Open
hyangah opened this issue Jul 17, 2015 · 2 comments
Open

x/mobile/exp/sprite: pass config.Event to arrangers #11761

hyangah opened this issue Jul 17, 2015 · 2 comments
Labels
mobile Android, iOS, and x/mobile
Milestone

Comments

@hyangah
Copy link
Contributor

hyangah commented Jul 17, 2015

As shown in https://go-review.googlesource.com/#/c/12339/ arranger functions may need the screen dimension info. The CL work around the problem using a global var, but a better approach is to let the sprite engine provides the info it already has.

@nigeltao @crawshaw

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 17, 2015
@nigeltao
Copy link
Contributor

Should a paint.Event contain a config.Event? Should we do the same for touch.Event?

(Just thinking out loud...)

@nigeltao
Copy link
Contributor

(I realize that that's sort of tangential to the sprite's arrangers.)

@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

4 participants