Class: Studio::Group::Encounter::LevelSetup
Overview
Data class helping to know the level setup of a creature while picking its level from group
Instance Attribute Summary collapse
-
#range ⇒ Range
readonly
Get the level range (to give to a rand function) to get the final level of the creature.
Instance Method Summary collapse
-
#initialize(hash) ⇒ LevelSetup
constructor
Create a new level setup.
-
#repel_rejected(actor_level) ⇒ Boolean
Tell if that level setup makes the encounter rejected by repel.
Constructor Details
#initialize(hash) ⇒ LevelSetup
Create a new level setup
360 361 |
# File 'docs/3_Studio.rb', line 360 def initialize(hash) end |
Instance Attribute Details
#range ⇒ Range (readonly)
Get the level range (to give to a rand function) to get the final level of the creature
357 358 359 |
# File 'docs/3_Studio.rb', line 357 def range @range end |
Instance Method Details
#repel_rejected(actor_level) ⇒ Boolean
Tell if that level setup makes the encounter rejected by repel
365 366 |
# File 'docs/3_Studio.rb', line 365 def repel_rejected(actor_level) end |