class Gemwarrior::Cow

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Creature::new
# File lib/gemwarrior/entities/creatures/cow.rb, line 8
def initialize
  super

  self.name         = 'cow'
  self.name_display = 'Cow'
  self.description  = 'Grazing on some fake grass, unperturbed, this black and white herd animal looks bored.'
  self.face         = 'blank'
  self.hands        = 'stampy'
  self.mood         = 'reserved'
end

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/creatures/cow.rb, line 19
def use(world)
  puts '>> "Moo."'
  { type: nil, data: nil }
end