Method: Cards::CardWall#initialize

Defined in:
lib/cards/card_wall.rb

#initializeCardWall

Returns a new instance of CardWall.



31
32
33
34
35
36
37
38
# File 'lib/cards/card_wall.rb', line 31

def initialize
  @handlers = []
  @layouts = []
  @root = Card.new("root")
  @root.layout = Layouts::RowLayout.new
  @root.y = -1
  @last_cards = [@root]
end