class CoopAl::Monster
Attributes
encounter[R]
id[R]
loot[R]
xp[R]
Public Class Methods
new(id, xp, loot, encounter)
click to toggle source
# File lib/coop_al/monster.rb, line 8 def initialize(id, xp, loot, encounter) @id = id @xp = xp @loot = loot @encounter = encounter end
Public Instance Methods
to_s()
click to toggle source
# File lib/coop_al/monster.rb, line 15 def to_s @id.to_s end