Files
Bomberman/sources/System/Movable/MovableSystem.hpp
2021-05-24 11:33:19 +02:00

29 lines
689 B
C++

//
// Created by Zoe Roux on 5/17/21.
//
#pragma once
#include "System/System.hpp"
namespace WAL
{
//! @brief A system to handle movable entities. This system update velocity based on accelerations and positions based on velocity.
class MovableSystem : public System
{
public:
//! @inherit
void onFixedUpdate(Entity &entity) override;
//! @brief A default constructor
MovableSystem();
//! @brief A movable system is copy constructable
MovableSystem(const MovableSystem &) = default;
//! @brief A default destructor
~MovableSystem() override = default;
//! @brief A movable system is assignable.
MovableSystem &operator=(const MovableSystem &) = default;
};
}