Method: Uzi::Timer#update

Defined in:
lib/uzi-timer.rb

#update(delta) ⇒ Object



10
11
12
13
# File 'lib/uzi-timer.rb', line 10

def update(delta)
  @time += delta
  @alarm = true if @time > @duration
end