Class: GenshinObject::WorldBoss

Inherits:
Boss
  • Object
show all
Defined in:
lib/genshin_object/world_boss.rb

Overview

Class to represent world bosses

Instance Attribute Summary collapse

Attributes inherited from Boss

#name, #nation_name

Instance Method Summary collapse

Constructor Details

#initialize(name:, nation_name:, boss_material:) ⇒ WorldBoss

Returns a new instance of WorldBoss.



8
9
10
11
12
# File 'lib/genshin_object/world_boss.rb', line 8

def initialize(name:, nation_name:, boss_material:)
  @boss_material = boss_material

  super(name:, nation_name:)
end

Instance Attribute Details

#boss_materialObject

Returns the value of attribute boss_material.



6
7
8
# File 'lib/genshin_object/world_boss.rb', line 6

def boss_material
  @boss_material
end