Commit before perhaps rethinking item structure
This commit is contained in:
@@ -8,8 +8,7 @@ import Data.Aeson.TH
|
||||
import Dodge.Data.Bullet
|
||||
|
||||
data BulletMod
|
||||
= -- BulletModTrajectory { _bmTrajectory :: BulletTrajectoryType}
|
||||
BulletModPayload {_bmPayload :: BulletPayload}
|
||||
= BulletModPayload {_bmPayload :: BulletPayload}
|
||||
| BulletModEffect {_bmEffect :: BulletEffect}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ data ItemType
|
||||
| AMMOMAG {_ibtAmmoMag :: AmmoMagType}
|
||||
| TARGETING {_ibtTargeting :: TargetingType}
|
||||
| BULLETMOD {_ibtBulletMod :: BulletMod}
|
||||
| STICKYMOD
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
data CraftType
|
||||
|
||||
Reference in New Issue
Block a user