metaforce/Runtime/World/CEnergyDrainSource.hpp

17 lines
428 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include "Runtime/RetroTypes.hpp"
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-12-08 05:30:43 +00:00
class CEnergyDrainSource {
TUniqueId x0_source;
float x4_intensity;
public:
2018-12-08 05:30:43 +00:00
CEnergyDrainSource(TUniqueId src, float intensity);
TUniqueId GetEnergyDrainSourceId() const { return x0_source; }
void SetEnergyDrainIntensity(float in) { x4_intensity = in; }
float GetEnergyDrainIntensity() const { return x4_intensity; }
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce