Class: Ridge

Inherits:
Tile show all
Defined in:
lib/demigodGame/Tile.rb

Overview

Ridge class, can’t be raised, can build mine, chapel and dragon shrine

Instance Attribute Summary

Attributes inherited from Tile

#built_on, #options, #x, #y

Instance Method Summary collapse

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