Allow adding and removing of active particles in player settings

This commit is contained in:
Teriuihi 2022-01-13 21:28:09 +01:00
parent 8cc4c42ce7
commit 1dc5d2f6d9

View File

@ -66,6 +66,14 @@ public class PlayerSettings {
return particles;
}
public void addParticle(APartType aPartType, ParticleSet particleSet) {
particles.put(aPartType, particleSet);
}
public void removeParticle(APartType aPartType) {
particles.remove(aPartType);
}
public ParticleSet getParticles(APartType aPartType) {
return particles.get(aPartType);
}