Sha256: 2ef4d798e5f57daa1f02724d587f4b1eff6010b64c9115fec51c32cd712b5bad
Contents?: true
Size: 803 Bytes
Versions: 2
Compression:
Stored size: 803 Bytes
Contents
# lib/gemwarrior/monster.rb # Monster creature require_relative 'creature' module Gemwarrior class Monster < Creature attr_accessor :xp, :atk_hi, :atk_lo, :rox def initialize( id, name, description, face, hands, mood, level, hp_cur, hp_max, atk_lo, atk_hi, inventory, rox ) self.id = id self.name = name self.description = description self.face = face self.hands = hands self.mood = mood self.level = level self.hp_cur = hp_cur self.hp_max = hp_max self.atk_lo = atk_lo self.atk_hi = atk_hi self.inventory = inventory self.rox = rox end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gemwarrior-0.3.3 | lib/gemwarrior/monster.rb |
gemwarrior-0.3.2 | lib/gemwarrior/monster.rb |