Class: Goblins::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



38
39
40
41
# File 'lib/goblins.rb', line 38

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