Guest User

Untitled

a guest
Aug 14th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. moveAl :: [Point] -> [Point]
  2. moveAl = map (\(x,y) -> (x,y - 1))
  3.  
  4. moveAliens :: (MonadState Game m) => m ()
  5. moveAliens = do
  6. game <- get
  7. let naliens = _getAliens (_aliens game)
  8. aliens .= Aliens (moveAl naliens)
Advertisement
Add Comment
Please, Sign In to add comment