mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
Prelim CPlayer imps, fix race condition in CGameGlobalObjects
This commit is contained in:
21
Runtime/World/CEnergyDrainSource.hpp
Normal file
21
Runtime/World/CEnergyDrainSource.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __URDE_CENERGYDRAINSOURCE_HPP__
|
||||
#define __URDE_CENERGYDRAINSOURCE_HPP__
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CEnergyDrainSource
|
||||
{
|
||||
TUniqueId x0_source;
|
||||
float x4_intensity;
|
||||
public:
|
||||
CEnergyDrainSource(TUniqueId src, float intensity);
|
||||
TUniqueId GetEnergyDrainSourceId() const;
|
||||
void SetEnergyDrainIntensity(float);
|
||||
float GetEnergyDrainIntensity() const;
|
||||
|
||||
bool operator<(const CEnergyDrainSource& other);
|
||||
};
|
||||
}
|
||||
#endif // __URDE_CENERGYDRAINSOURCE_HPP__
|
||||
Reference in New Issue
Block a user