2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _IWEAPONRENDERER
|
|
|
|
#define _IWEAPONRENDERER
|
2022-07-26 04:36:32 +00:00
|
|
|
|
2022-08-11 09:24:45 +00:00
|
|
|
#include "Kyoto/Alloc/CMemory.hpp"
|
2023-10-13 04:49:09 +00:00
|
|
|
|
|
|
|
class CParticleGen;
|
2022-08-11 09:24:45 +00:00
|
|
|
|
2022-07-26 04:36:32 +00:00
|
|
|
class IWeaponRenderer {
|
2022-07-28 13:19:26 +00:00
|
|
|
public:
|
2022-09-18 06:05:46 +00:00
|
|
|
virtual ~IWeaponRenderer() = 0;
|
|
|
|
virtual void AddParticleGen(const CParticleGen& gen) = 0;
|
|
|
|
static void SetRenderer(IWeaponRenderer* renderer) { sWeaponRenderer = renderer; }
|
|
|
|
|
2022-07-26 04:36:32 +00:00
|
|
|
private:
|
2022-09-18 06:05:46 +00:00
|
|
|
static IWeaponRenderer* sWeaponRenderer;
|
2022-07-26 04:36:32 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 09:18:28 +00:00
|
|
|
inline IWeaponRenderer::~IWeaponRenderer() {}
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _IWEAPONRENDERER
|