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

Extend game::handle for other use-cases #4

Open
Qartar opened this issue Oct 23, 2019 · 0 comments
Open

Extend game::handle for other use-cases #4

Qartar opened this issue Oct 23, 2019 · 0 comments

Comments

@Qartar
Copy link
Owner

Qartar commented Oct 23, 2019

game::handle<T> is currently hard-coded to work with game::world and game::object. It would be convenient if this worked with other systems that would benefit from handles such as sound assets, sound emitters, render models, fonts, etc.

This would likely require implementing a generic system class to replace the interactions with game::world and a generic methods to replace conversions to game::object.

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

No branches or pull requests

1 participant