Class: RubyWarrior::Units::ThickSludge

Inherits:
Sludge
  • Object
show all
Defined in:
lib/ruby_warrior/units/thick_sludge.rb

Instance Attribute Summary

Attributes inherited from Base

#health, #position

Instance Method Summary collapse

Methods inherited from Sludge

#attack_power, #initialize, #play_turn

Methods inherited from Base

#abilities, #add_abilities, #alive?, #attack_power, #bind, #bound?, #earn_points, #name, #next_turn, #perform_turn, #play_turn, #prepare_turn, #say, #take_damage, #unbind

Constructor Details

This class inherits a constructor from RubyWarrior::Units::Sludge

Instance Method Details

#characterObject



8
9
10
# File 'lib/ruby_warrior/units/thick_sludge.rb', line 8

def character
  "S"
end

#max_healthObject



4
5
6
# File 'lib/ruby_warrior/units/thick_sludge.rb', line 4

def max_health
  24
end