Simple C++ Game
PlayerInputSystem.hpp
1 #pragma once
2 
3 #include <IteratingSystem.hpp>
4 
11 {
12 public:
17 
18 protected:
27  void process(std::shared_ptr<Entity> &entity, sf::Time deltaTime);
28 };
An implementation of EntitySystem that iterates through all Entity objects in EntitySystem::getEntiti...
Definition: IteratingSystem.hpp:10
A system that uses player input to drive a paddle.
Definition: PlayerInputSystem.hpp:11
void process(std::shared_ptr< Entity > &entity, sf::Time deltaTime)
Updates the behavior of a player paddle based on the current keyboard inputs.
PlayerInputSystem()
Construct a new PlayerInputSystem.