Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- moveAl :: [Point] -> [Point]
- moveAl = map (\(x,y) -> (x,y - 1))
- moveAliens :: (MonadState Game m) => m ()
- moveAliens = do
- game <- get
- let naliens = _getAliens (_aliens game)
- aliens .= Aliens (moveAl naliens)
Advertisement
Add Comment
Please, Sign In to add comment