Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
irendering_strategy_factory.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <memory>
7
8class Component;
9
19 protected:
21
22 public:
24 virtual ~IRenderingStrategyFactory() = default;
25
26 virtual std::unique_ptr<IRenderingStrategy> create_strategy(
27 Component& component) = 0;
28};
Base class for all components that can be attached to GameObjects.
Definition component.h:24
Interface for factories that create rendering strategies.
Definition irendering_strategy_factory.h:18
IRenderingStrategyFactory(Renderer &renderer)
virtual ~IRenderingStrategyFactory()=default
Renderer & renderer_
Definition irendering_strategy_factory.h:20
virtual std::unique_ptr< IRenderingStrategy > create_strategy(Component &component)=0
Service responsible for rendering game objects to the screen.
Definition renderer.h:25