Method: Osb#background
- Defined in:
- lib/osb/dsl/object.rb
#background(file_path:) ⇒ void
This method returns an undefined value.
Set the background image for the beatmap.
110 111 112 113 114 |
# File 'lib/osb/dsl/object.rb', line 110 def background(file_path:) self.raise_unless_inside_storyboard! @storyboard << Background.new(file_path: file_path) end |