diff options
Diffstat (limited to 'src/particles.h')
-rw-r--r-- | src/particles.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/particles.h b/src/particles.h index 11ccd6218..72e48911a 100644 --- a/src/particles.h +++ b/src/particles.h @@ -114,7 +114,7 @@ private: class ParticleSpawner { - public: +public: ParticleSpawner(IGameDef* gamedef, LocalPlayer *player, u16 amount, @@ -140,8 +140,12 @@ class ParticleSpawner bool get_expired () { return (m_amount <= 0) && m_spawntime != 0; } - private: - ParticleManager* m_particlemanager; +private: + void spawnParticle(ClientEnvironment *env, float radius, + bool is_attached, const v3f &attached_pos, + float attached_yaw); + + ParticleManager *m_particlemanager; float m_time; IGameDef *m_gamedef; LocalPlayer *m_player; |