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

Basic ECS #4

Open
bvssvni opened this issue Oct 20, 2015 · 2 comments
Open

Basic ECS #4

bvssvni opened this issue Oct 20, 2015 · 2 comments

Comments

@bvssvni
Copy link
Member

bvssvni commented Oct 20, 2015

All components are allocated for all entities upfront. Bitflags with u32 is used to activate and deactive components. Large memory blocks should be stored on the heap.

@Binero
Copy link

Binero commented Oct 21, 2015

We might not necessarily need a bitflag for every component. It'd also be nice to allow adding and removing components over time. Best way to implement this would probably be by not centralising them into one structure.

@bvssvni
Copy link
Member Author

bvssvni commented Oct 21, 2015

We'll do the easiest way for now.

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

2 participants