Class: Shoes::Anim

Inherits:
Object show all
Defined in:
lib/shoes/anim.rb

Instance Method Summary collapse

Instance Method Details

#continue?Boolean

Returns:

  • (Boolean)

7
8
9
# File 'lib/shoes/anim.rb', line 7

def continue?
  !@stop
end

#pauseObject


11
12
13
# File 'lib/shoes/anim.rb', line 11

def pause
  @pause = !@pause
end

#pause?Boolean

Returns:

  • (Boolean)

15
16
17
# File 'lib/shoes/anim.rb', line 15

def pause?
  @pause
end

#stopObject


3
4
5
# File 'lib/shoes/anim.rb', line 3

def stop
  @stop = true
end