This system manages collision detection and response between entities in the game, handling interactions like damage or destruction.

namespace systems {
        class CollisionsSystem : public ISystems {
          public:
            void operator()(Registry &, std::shared_ptr<IContext> ctx) override;

          private:
            void sendDestroyedObject(std::shared_ptr<IContext> &ctx, std::size_t i);
        };
    }; // namespace systems

Methods

Private Methods