Sdk/ParticleEmitterComponent: Update emitter (they are no longer attached to groups)

They are no longer attached to groups, groups attach emitters


Former-commit-id: c3a9f015dd46be1a4344c034ea2a191f0328acae [formerly 8e342bc0982853cf376535bf196e7ab8876301eb] [formerly b7c3afed37877838e2e7caefa28d7c1b4bf654a9 [formerly 886646b5d5f90b63b7af6942d693bdaab4db441d]]
Former-commit-id: 85cb514f954ba68699022e73f7fbe1ad4cfd036e [formerly 6247fbfeb86c09464b27bfc11fa4a5e059d63065]
Former-commit-id: 1d8badfef268dbdecdeda8ad91e988b3f936b865
This commit is contained in:
Lynix
2016-08-06 01:09:13 +02:00
parent 55d14a8b88
commit 715355628e
3 changed files with 18 additions and 55 deletions

View File

@@ -6,6 +6,16 @@
namespace Ndk
{
inline ParticleEmitterComponent::ParticleEmitterComponent() :
m_isActive(true)
{
}
inline void Ndk::ParticleEmitterComponent::Enable(bool active)
{
m_isActive = active;
}
inline bool ParticleEmitterComponent::IsActive() const
{
return m_isActive;