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

Generalize Components #12

Closed
6 tasks done
pkuehne opened this issue Aug 12, 2015 · 0 comments
Closed
6 tasks done

Generalize Components #12

pkuehne opened this issue Aug 12, 2015 · 0 comments
Milestone

Comments

@pkuehne
Copy link
Owner

pkuehne commented Aug 12, 2015

  • Make all Components inherit from common base class
  • Replace ComponentManager to keep map of Entity to ComponentBase*
  • Template functions to add and get Components via their Entity (including cast)
  • Check for correct Component via dynamic_cast
  • Attach this Component Manager directly to the GameEngine
  • Replace all existing get calls with the new one
@pkuehne pkuehne added this to the Alpha 1 milestone Aug 12, 2015
@pkuehne pkuehne modified the milestones: Alpha 1, Alpha 2 Aug 21, 2015
@pkuehne pkuehne changed the title Add Component key for each entity Generalize Components Sep 12, 2015
@pkuehne pkuehne closed this as completed Sep 13, 2015
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