Refactor sounds
This commit is contained in:
@@ -12,7 +12,6 @@ import Data.Int (Int16)
|
||||
data SoundStatus
|
||||
= JustStartedPlaying
|
||||
| Playing
|
||||
| FadingOut
|
||||
| ToStart
|
||||
deriving (Eq,Ord,Show)
|
||||
|
||||
@@ -21,7 +20,6 @@ newtype SoundData = SoundData
|
||||
}
|
||||
data Sound = Sound
|
||||
{ _soundTime :: Maybe Int
|
||||
, _soundFadeTime :: Int
|
||||
, _soundStatus :: SoundStatus
|
||||
, _soundChannel :: Maybe Mix.Channel
|
||||
, _soundAngDist :: Maybe (Int16,Word8)
|
||||
|
||||
Reference in New Issue
Block a user