Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "EntityManager.h"
- #include "EntitySystemTypes.h"
- int main() {
- EntityManager entityManager;
- entityManager.CreateEntityType<float, int, bool>();
- EntityId id = entityManager.CreateEntityOfType<float, int, bool>();
- entityManager.GetComponent<float,float, int, bool>(id);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment