Class: Studio::CreatureForm::Evolution

Inherits:
Object
  • Object
show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing an evolution

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conditionsArray<Hash> (readonly)

Conditions of the evolution

Returns:

  • (Array<Hash>)


708
709
710
# File 'docs/3_Studio.rb', line 708

def conditions
  @conditions
end

#db_symbolSymbol (readonly)

db_symbol of the creature to evolve to

Returns:

  • (Symbol)


702
703
704
# File 'docs/3_Studio.rb', line 702

def db_symbol
  @db_symbol
end

#formInteger (readonly)

Form of the creature to evolve to

Returns:

  • (Integer)


705
706
707
# File 'docs/3_Studio.rb', line 705

def form
  @form
end

Instance Method Details

#condition_data(type) ⇒ Symbol, Integer

Get data by condition

Parameters:

  • type (Symbol)

    type of condition to check

Returns:

  • (Symbol, Integer)


712
713
# File 'docs/3_Studio.rb', line 712

def condition_data(type)
end