Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class GameObject
- {
- public:
- GameObject(std::string objectName);
- ~GameObject(void);
- Component AddComponent(std::string name);
- Component AddComponent(Component componentType);
- };
- warship->AddComponent(new MeshRenderer());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement