8 #ifndef GRAPHICSYSTEM_HPP_
9 #define GRAPHICSYSTEM_HPP_
11 #include "../../Graphics/InitSfml.hpp"
17 GraphicSystem(
const std::shared_ptr<ComponentManager>& componentsManager,
const std::shared_ptr<EntityManager>& entityManager);
21 void setSfml(std::shared_ptr<InitSfml> sfml);
22 void setClock(std::shared_ptr<Clock> clock);
27 std::shared_ptr<InitSfml> _sfml;
28 std::shared_ptr<sf::RenderWindow> _window;
29 std::shared_ptr<Clock> _clock;
Definition: Entity.hpp:30
Definition: GraphicSystem.hpp:15
void update()
Definition: GraphicSystem.cpp:26
void setClock(std::shared_ptr< Clock > clock)
Definition: GraphicSystem.cpp:61
GraphicSystem(const std::shared_ptr< ComponentManager > &componentsManager, const std::shared_ptr< EntityManager > &entityManager)
Definition: GraphicSystem.cpp:18
void setSfml(std::shared_ptr< InitSfml > sfml)
Definition: GraphicSystem.cpp:50
bool checkIsValidEntity(Entity entity)
Definition: GraphicSystem.cpp:73
Definition: System.hpp:18
Definition: ComponentManager.hpp:14