Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created February 3, 2012 01:22
Show Gist options
  • Select an option

  • Save ruprict/1726952 to your computer and use it in GitHub Desktop.

Select an option

Save ruprict/1726952 to your computer and use it in GitHub Desktop.
ROFLBALT Blood
class Blood < Struct.new(:x, :y)
include Renderable
def height; 4 end
def width; 2 end
def x; super + 2 end
def pixel x, y, rx, ry, ticks
Pixel.new ":", 124, 52
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment