Class: Plains
Overview
Plains class, can be raised to ridge or forest, can build house, chapel and sheeps
Instance Attribute Summary
Attributes inherited from Tile
Instance Method Summary collapse
-
#initialize(x, y) ⇒ Plains
constructor
A new instance of Plains.
Methods inherited from Tile
#accepts?, #build, #check_cost, #to_s
Constructor Details
#initialize(x, y) ⇒ Plains
70 71 72 73 74 |
# File 'lib/demigodGame/Tile.rb', line 70 def initialize(x, y) super(x, y) = [:r, :f, :h, :c, :s] @type = 'P' end |