2016-09-25 16:45:22 +00:00
|
|
|
#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;
|
|
|
|
|
2016-09-30 03:33:35 +00:00
|
|
|
bool operator<(const CEnergyDrainSource& other) const;
|
2016-09-25 16:45:22 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CENERGYDRAINSOURCE_HPP__
|