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

Move image/texture/sprite loading into Entity class #15

Open
jstamant opened this issue Sep 19, 2016 · 1 comment
Open

Move image/texture/sprite loading into Entity class #15

jstamant opened this issue Sep 19, 2016 · 1 comment

Comments

@jstamant
Copy link
Owner

I've been meaning to move the whole image/texture/sprite loading out of all the entities.

All the entities are individually loading+defining their own texture and sprite. It's not efficient, and isn't hard to optimize. Just let the Entity class deal with the common members like texture and sprite. The image, though, may have to be brought out to a different service class.

@jstamant
Copy link
Owner Author

There was some work done towards this. It may have to be further improved.

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