#pragma once #include "Component.hpp" /** * Applies gravity well force to the probe and drains meter while active. */ struct GravityReceiverComponent : public Component { /** * The gravity well entity that this receiver is affected by. If null, the receiver will not * apply any forces. */ Entity *well = nullptr; /** * Whether the probe is inside a void zone, which disables the well's gravity. */ bool inVoid = false; void Setup() override; void Update(float dt) override; void Cleanup() override; };