engine/engine/engine_environment.rb
Method update_environment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def update_environment
beat_scale = @beat_detector.progress # a fuzzy (0.0 to 1.0 inclusive) measure of progress within the current beat
bpm = @beat_detector.beats_per_minute
# Integer beat counts