Class: GameOverBanner
Constant Summary collapse
- FG =
16
- BG =
244
Instance Method Summary collapse
- #height ⇒ Object
- #pixel(x, y, rx, ry, ticks) ⇒ Object
- #template ⇒ Object
- #width ⇒ Object
- #x ⇒ Object
- #y ⇒ Object
Methods included from Renderable
Instance Method Details
#height ⇒ Object
424 |
# File 'lib/rofltim.rb', line 424 def height; 5 end |
#pixel(x, y, rx, ry, ticks) ⇒ Object
434 435 436 |
# File 'lib/rofltim.rb', line 434 def pixel x, y, rx, ry, ticks Pixel.new template[ry][rx], FG, BG end |
#template ⇒ Object
425 426 427 428 429 430 431 432 433 |
# File 'lib/rofltim.rb', line 425 def template [ ' ', ' ♥ ♥ ', ' ♥ YOU LEFT :( ♥ ', ' ♥ ♥ ', ' ', ] end |
#width ⇒ Object
423 |
# File 'lib/rofltim.rb', line 423 def width; 28 end |
#x ⇒ Object
421 |
# File 'lib/rofltim.rb', line 421 def x; 28 end |
#y ⇒ Object
422 |
# File 'lib/rofltim.rb', line 422 def y; 14 end |