Dreikblack Posted February 1 Posted February 1 So it would be something like: virtual shared_ptr<Component> AddComponent(const WString& componentName, const bool start = true); And if component is not registered or something it would return nullptr Such method would increase flexibility and allow to recreate an entity from a save file with components. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.