Sha256: cdfb614aad19862b9beb0e08f562bd2e4b545acf5196e3a9ae930bb681ce198b
Contents?: true
Size: 276 Bytes
Versions: 1
Compression:
Stored size: 276 Bytes
Contents
class GridPresenter < Straightedge::Presenter def display(grid) #, scale: 10.0) cell_presenter = QuadrilateralPresenter.new.on(@surface) grid.each_cell do |cell| #puts "--- rendering cell in #{cell.color}" cell_presenter.display(cell) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
straightedge-gosu-0.1.0 | lib/straightedge/gosu/presenters/grid_presenter.rb |