Class: Ridge
Overview
Ridge class, can’t be raised, can build mine, chapel and dragon shrine
Instance Attribute Summary
Attributes inherited from Tile
Instance Method Summary collapse
-
#initialize(x, y) ⇒ Ridge
constructor
A new instance of Ridge.
Methods inherited from Tile
#accepts?, #build, #check_cost, #to_s
Constructor Details
#initialize(x, y) ⇒ Ridge
Returns a new instance of Ridge.
60 61 62 63 64 |
# File 'lib/demigodGame/Tile.rb', line 60 def initialize(x, y) super(x, y) @options = [:m, :c, :d] @type = 'R' end |