Class: Lilgoblins::Spritesheet

Inherits:
Object
  • Object
show all
Defined in:
lib/goblins.rb

Class Method Summary collapse

Class Method Details

.find_by(name:) ⇒ Object

note: for now class used for “namespace” only



88
89
90
91
# File 'lib/goblins.rb', line 88

def self.find_by( name: )  ## return archetype/attribute image by name
   # note: pass along name as q (query string)
   Lilgoblins.generator.find( name )
end