2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 07:11:20 +00:00
metaforce/Runtime/World/CPlayerEnergyDrain.hpp
Lioncash 36d04456dd General: Normalize RuntimeCommonB include paths
Finishes the normalizing of all of includes within the RuntimeCommonB target's headers.
2019-09-23 17:22:37 -04:00

24 lines
666 B
C++

#pragma once
#include <vector>
#include "Runtime/RetroTypes.hpp"
#include "Runtime/World/CEnergyDrainSource.hpp"
namespace urde {
class CStateManager;
class CPlayerEnergyDrain {
std::vector<CEnergyDrainSource> x0_sources;
float x10_energyDrainTime;
public:
CPlayerEnergyDrain(u32);
const std::vector<CEnergyDrainSource>& GetEnergyDrainSources() const { return x0_sources; }
void AddEnergyDrainSource(TUniqueId, float);
void RemoveEnergyDrainSource(TUniqueId id);
float GetEnergyDrainIntensity() const;
float GetEnergyDrainTime() const { return x10_energyDrainTime; }
void ProcessEnergyDrain(const CStateManager&, float);
};
} // namespace urde