Rename WorldActions to WorldEvent
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
module Dodge.WorldEvent.HelperParticle
|
||||
where
|
||||
|
||||
import Dodge.Data
|
||||
|
||||
ptTimer' :: Int -> World -> Particle' -> (World, Maybe Particle')
|
||||
ptTimer' 0 w pt = (w, Nothing)
|
||||
ptTimer' n w pt = (w, Just $ pt {_ptUpdate' = ptTimer' (n-1)})
|
||||
Reference in New Issue
Block a user