Simple C++ Game
VelocitySystem.hpp
1 #pragma once
2 
3 #include <IteratingSystem.hpp>
4 
11 {
12 public:
17 
18 protected:
25  void process(std::shared_ptr<Entity> &entity, sf::Time deltaTime);
26 };
An implementation of EntitySystem that iterates through all Entity objects in EntitySystem::getEntiti...
Definition: IteratingSystem.hpp:10
A system for updating positions based on velocities.
Definition: VelocitySystem.hpp:11
VelocitySystem()
Construct a new VelocitySystem.
void process(std::shared_ptr< Entity > &entity, sf::Time deltaTime)
Updates position data based on velocity for an Entity.