Method: Background#visible

Defined in:
lib/fantasy/background.rb

#visibleObject

When false the Background won't be rendered in the next frame.

Default true.

Examples:

Set visible

background = Background.new("image")
background.visible = false


70
71
72
# File 'lib/fantasy/background.rb', line 70

def visible
  @visible
end