Allow adding and removing of active particles in player settings
This commit is contained in:
parent
8cc4c42ce7
commit
1dc5d2f6d9
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user