Guest User

Untitled

a guest
Mar 24th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. render (Viewport (x,y) _ _) (VLine n (x',y') c) = do
  2.     setFColor c
  3.     printPipes n (x+x') (y+y')
  4.     setFColor WHITE
  5.       where
  6.       printPipes 1 x y = writeAt (x,y) "|"
  7.       printPipes n x y = writeAt (x,y) "|" >> printPipes (n-1) x (y+1)
Advertisement
Add Comment
Please, Sign In to add comment