public void setParticleEvent(int newEvent) {
        if (newEvent < 0 || newEvent > 4) {
            throw new IllegalArgumentException("Can only change to a particle event between 0 and 3, inclusive!");
        }
        
        selectedParticleEvent = newEvent;
    }