adding a RectangleDrawable2DComponent and moving files

This commit is contained in:
Clément Le Bihan
2021-05-24 11:33:19 +02:00
parent 4ef7f7543a
commit 3d5ea204b6
16 changed files with 83 additions and 9 deletions
+28
View File
@@ -0,0 +1,28 @@
//
// 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;
};
}