Refactor basic explosion
This commit is contained in:
+2
-2
@@ -483,8 +483,8 @@ newKey m = case IM.lookupMax m of
|
||||
Just (n,_) -> n+1
|
||||
Nothing -> 0
|
||||
|
||||
newParticleKey :: World -> Int
|
||||
newParticleKey w = case IM.lookupMax (_projectiles w) of
|
||||
newProjectileKey :: World -> Int
|
||||
newProjectileKey w = case IM.lookupMax (_projectiles w) of
|
||||
Just (n,_) -> n+1
|
||||
Nothing -> 0
|
||||
newCrKey :: World -> Int
|
||||
|
||||
Reference in New Issue
Block a user