Method: Background#layer
- Defined in:
- lib/fantasy/background.rb
#layer ⇒ Object
In which layer the image of the Background is rendered. Smaller numbers are rendered behind higher numbers.
Default -100.
23 24 25 |
# File 'lib/fantasy/background.rb', line 23 def layer @layer end |