Class: ZIndex
- Inherits:
-
Object
- Object
- ZIndex
- Defined in:
- lib/zombie-chaser/ui.rb
Constant Summary collapse
- LAYERS =
[:world, :dead, :actor, :attacking, :overlay]
Class Method Summary collapse
Class Method Details
.for(type) ⇒ Object
23 |
# File 'lib/zombie-chaser/ui.rb', line 23 def self.for(type); LAYERS.index(type) end |