#pragma once #include "interfaces/subscriber.hpp" #include class ICommand : public ISubscriber { public: virtual ~ICommand() = default; virtual void execute() noexcept = 0; void update(const std::nullptr_t & /*context*/) noexcept override { execute(); }; };