Class: Coolcat::Image

Inherits:
Pixelart::Image
  • Object
show all
Defined in:
lib/coolcats.rb

Constant Summary collapse

NAMES =
['coolcat', 'coolcats']
DEFAULT_ATTRIBUTES =
['Happy']

Class Method Summary collapse

Class Method Details

.generate(*names) ⇒ Object



46
47
48
49
# File 'lib/coolcats.rb', line 46

def self.generate( *names )
 ## note: always auto-add base coolcat archetye by default
  generator.generate( 'Base', *names )
end

.generatorObject



36
37
38
39
# File 'lib/coolcats.rb', line 36

def self.generator
  @generator ||= Artfactory.use(  Coolcat::Sheet.builtin,
                                  image_class: Image )
end