Slow your turn when moving and not aiming

This commit is contained in:
jgk
2021-06-06 16:33:25 +02:00
parent 0b8ac97fe9
commit eb7c4a8067
3 changed files with 40 additions and 6 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ import Control.Monad.State
import Data.List
--import Data.Maybe
import System.Random
import qualified Data.IntMap.Strict as IM
--import qualified Data.IntMap.Strict as IM
import Control.Lens
makePoisonExplosionAt
@@ -36,7 +36,7 @@ makeTeslaExplosionAt
:: Point2 -- ^ Position
-> World
-> World
makeTeslaExplosionAt pos w = undefined
makeTeslaExplosionAt pos w = undefined pos w
-- soundOncePos grenadeBang pos $ foldr ($) w listOfFunctions -- a bit shorter
-- where
-- xs = randomRs (0, 2*pi) $ _randGen w