Dreikblack Posted Saturday at 05:06 AM Share Posted Saturday at 05:06 AM 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 Link to comment Share on other sites More sharing options...
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.