Make cake bounce off bounce edge, stop cake at wrap edge to prevent other bug
The "other bug" is that the cake just walks through terrain when it hits the wrap world edge. This behaviour is even worse.
{-# LANGUAGE ImpredicativeTypes #-}
module Main where
import qualified MODULE as M
main = undefined $ M.FUNCTION PARAMETERS