class CoopAl::MonsterDefinition

MonsterDefinition

Attributes

cr[R]
id[R]
treasure[R]

Public Class Methods

new(id, cr, treasure) click to toggle source
# File lib/coop_al/monster_definition.rb, line 8
def initialize(id, cr, treasure)
  @id = id
  @cr = cr
  @treasure = treasure
end

Public Instance Methods

==(other) click to toggle source
# File lib/coop_al/monster_definition.rb, line 14
def ==(other)
  @id == other.id && @cr == other.cr && @treasure == other.treasure
end