public void AddSceneObject(BaseSceneObject sceneObject, GenericPool<BaseSceneObject> pool) { _sceneObjects.Add(new InstanceSceneObjects(sceneObject, pool)); }
public InstanceSceneObjects(BaseSceneObject sceneObject, GenericPool<BaseSceneObject> pool) { SceneObject = sceneObject; Pool = pool; }