Class: Blood
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
Methods included from Renderable
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
386 387 388 |
# File 'lib/roflbalt.rb', line 386 def x @x end |
#y ⇒ Object
Returns the value of attribute y
386 387 388 |
# File 'lib/roflbalt.rb', line 386 def y @y end |
Instance Method Details
#height ⇒ Object
388 |
# File 'lib/roflbalt.rb', line 388 def height; 4 end |
#pixel(x, y, rx, ry, ticks) ⇒ Object
391 392 393 |
# File 'lib/roflbalt.rb', line 391 def pixel x, y, rx, ry, ticks Pixel.new ":", 124, 52 end |
#width ⇒ Object
389 |
# File 'lib/roflbalt.rb', line 389 def width; 2 end |