Class: Forest

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

Overview

Forst class, can be raised to ridge, can build woodcutter, chapel, house

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) ⇒ Forest



80
81
82
83
84
# File 'lib/demigodGame/Tile.rb', line 80

def initialize(x, y)
  super(x, y)
  @options = [:w, :c, :h, :r]
  @type = 'F'
end