public GameObject CreateGameObject(GameObjectType gameObjectType) { var gameObject = new GameObject(_publisher, gameObjectType); _world.AddGameObject(gameObject); var components = _componentsFactory.GetComponents(gameObjectType); foreach (var component in components) { gameObject.AddComponent(component); } return(gameObject); }