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

Entity Component System #319

Draft
wants to merge 133 commits into
base: main
Choose a base branch
from
Draft

Entity Component System #319

wants to merge 133 commits into from

Conversation

IllustrisJack
Copy link
Member

No description provided.

@IllustrisJack IllustrisJack force-pushed the feat/ecs branch 2 times, most recently from 6c7c09d to e4bc552 Compare August 1, 2024 16:11
@IllustrisJack IllustrisJack linked an issue Aug 16, 2024 that may be closed by this pull request
IllustrisJack and others added 28 commits December 10, 2024 13:57
e.g. cargo r -- Economy/MarketplaceTest
- components & entities
- marketplace update test
+ entity/component cloning
+ entity destruction
+ marketplace simple transaction test
useful for item quantity reservation in the trading systems
This isn't necessary, because we always return a singleton instance, so
it'll always be initialized by definition.
We can use the class definition object itself as the type. It's
ultimately a pointer to a table object that lasts for the lifetime of
the program (created via the require() call), so therefore we can use it
as a stable ID for the type!
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

Successfully merging this pull request may close these issues.

Entity Component System
3 participants