Class: Flora

Inherits:
TileItem show all
Defined in:
lib/flora.rb

Constant Summary collapse

CACTUS =
"\u{1F335}"
EVERGREEN_TREE =
"\u{1F332}"
DECIDUOUS_TREE =
"\u{1F333}"

Constants inherited from TileItem

TileItem::DEFAULT_RENDER_PRIORITY

Instance Attribute Summary

Attributes inherited from TileItem

#colour, #id, #obj, #render_priority, #render_symbol

Instance Method Summary collapse

Methods inherited from TileItem

#to_h

Constructor Details

#initialize(render_symbol) ⇒ Flora

Returns a new instance of Flora.



10
11
12
# File 'lib/flora.rb', line 10

def initialize(render_symbol)
  super self, render_symbol: render_symbol
end