Class: Doomfire::Terminal
Overview
This class outputs the pixels into the terminal, using ANSI color codes
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#exit_requested, #fire_width, #pixels
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Doomfire::Base
Instance Method Details
#run ⇒ Object
8 9 10 |
# File 'lib/doomfire/terminal.rb', line 8 def run fire_loop end |
#stop ⇒ Object
12 13 14 |
# File 'lib/doomfire/terminal.rb', line 12 def stop @exit_requested = true end |