Allow for custom reloading sounds

This commit is contained in:
2022-06-21 22:21:18 +01:00
parent 53c8be0679
commit 029b6daf8e
25 changed files with 339 additions and 219 deletions
+15
View File
@@ -0,0 +1,15 @@
module Dodge.Reloading.Action where
import Dodge.SoundLogic.ExternallyGeneratedSounds
import Dodge.Data.LoadAction
loadInsert :: Int -> LoadAction
loadInsert x = Insert x insertS Nothing
loadPartialInsert :: Int -> Int -> LoadAction
loadPartialInsert x y = Insert x insertOneS (Just y)
loadEject :: Int -> LoadAction
loadEject x = Eject x ejectS
loadPrime :: Int -> LoadAction
loadPrime x = Prime x primeS