Class: Wall
Instance Attribute Summary
Attributes inherited from BaseTile
#opacity, #symbol, #touched, #x, #y
Instance Method Summary collapse
-
#initialize(y, x, opacity = 0, touched = 0) ⇒ Wall
constructor
A new instance of Wall.
Methods inherited from BaseTile
#get_tile, #is_floor?, #print_tile
Constructor Details
#initialize(y, x, opacity = 0, touched = 0) ⇒ Wall
Returns a new instance of Wall.
47 48 49 50 |
# File 'lib/cave_gen/tile.rb', line 47 def initialize(y, x, opacity = 0, touched = 0) super(y, x, opacity, touched) @symbol = "#" end |