18 lines
372 B
C++
18 lines
372 B
C++
#pragma once
|
|
|
|
#include "Component.hpp"
|
|
|
|
/**
|
|
* Applies gravity from active wells to the probe.
|
|
*/
|
|
struct GravityReceiverComponent : public Component {
|
|
/**
|
|
* 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;
|
|
};
|