Add Binary instances

This commit is contained in:
2022-08-21 10:58:19 +01:00
parent 386a2b4732
commit 1ce7d4a72d
95 changed files with 345 additions and 3 deletions
+2
View File
@@ -4,6 +4,7 @@
{-# LANGUAGE TemplateHaskell #-}
module Dodge.Data.SaveSlot where
import Data.Binary
import Flat
import Control.Lens
@@ -12,5 +13,6 @@ data SaveSlot
| LevelStartSlot Int
| SaveSlotNum Int
deriving (Eq, Ord, Show, Read, Generic, Flat)
instance Binary SaveSlot
makeLenses ''SaveSlot