gamepad ecs

This commit is contained in:
arthur.jamet
2021-05-31 12:48:59 +02:00
parent c6ab6542e0
commit cbbde0bc0c
6 changed files with 175 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
//
// Created by Tom Augier on 2021-05-20.
// Edited by Benjamin Henry on 2021-05-20.
//
#pragma once
#include "System/System.hpp"
#include <map>
namespace BBM
{
//! @brief A system to handle Gamepad entities.
class GamepadSystem : public WAL::System
{
public:
//! @inherit
void onFixedUpdate(WAL::Entity &entity) override;
//! @brief A default constructor
GamepadSystem();
//! @brief A Gamepad system is copy constructable
GamepadSystem(const GamepadSystem &) = default;
//! @brief A default destructor
~GamepadSystem() override = default;
//! @brief A Gamepad system is assignable.
GamepadSystem &operator=(const GamepadSystem &) = default;
};
}