2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-07-22 02:32:23 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-07-22 02:32:23 +00:00
|
|
|
class CParticleGen;
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class IWeaponRenderer {
|
2016-07-22 02:32:23 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
virtual ~IWeaponRenderer() = default;
|
2020-08-23 19:52:14 +00:00
|
|
|
virtual void AddParticleGen(CParticleGen&) = 0;
|
2016-07-22 02:32:23 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CDefaultWeaponRenderer : public IWeaponRenderer {
|
2016-07-22 02:32:23 +00:00
|
|
|
public:
|
2020-08-23 19:52:14 +00:00
|
|
|
void AddParticleGen(CParticleGen&) override;
|
2016-07-22 02:32:23 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|