public void Draw(Scene scene, Matrix world, Matrix view, Matrix projection, TextureCube reflectionTexture, Vector3 cameraPosition, RenderPass pass) { foreach (AbstractEntity entity in scene.Entities) { entity.Draw(world, view, projection, reflectionTexture, cameraPosition, pass); } }
public SceneManager(Game game) { this.game = game; this.currentScene = new Scene(game); }