Move function fields outside equipment
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module Dodge.Data.CamouflageStatus where
|
||||
data CamouflageStatus
|
||||
= FullyVisible
|
||||
| Invisible
|
||||
deriving (Eq,Ord,Enum)
|
||||
@@ -1,14 +1,14 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
module Dodge.Data.Creature where
|
||||
module Dodge.Data.Creature
|
||||
( module Dodge.Data.Creature
|
||||
, module Dodge.Data.CamouflageStatus
|
||||
) where
|
||||
import Dodge.Data.CamouflageStatus
|
||||
import Sound.Data
|
||||
import Geometry.Data
|
||||
import Color
|
||||
import Control.Lens
|
||||
data CamouflageStatus
|
||||
= FullyVisible
|
||||
| Invisible
|
||||
deriving (Eq,Ord,Enum)
|
||||
data CreatureStatistics = CreatureStatistics
|
||||
{ _strength :: Int
|
||||
, _dexterity :: Int
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,6 @@
|
||||
module Dodge.Data.Item.HeldUse where
|
||||
import Dodge.Combine.Data
|
||||
import Dodge.Data.CamouflageStatus
|
||||
|
||||
data HeldUse = HeldDoNothing
|
||||
| HeldUseAmmoParams
|
||||
@@ -18,6 +19,20 @@ data HeldUse = HeldDoNothing
|
||||
| HeldForceField
|
||||
| HeldShatter
|
||||
|
||||
data Cuse = CDoNothing
|
||||
| CHeal Int
|
||||
|
||||
data Euse = EDoNothing
|
||||
| EDetector Detector
|
||||
| EMagShield
|
||||
| EWristShield
|
||||
| EHeadLamp
|
||||
| ECamouflage CamouflageStatus
|
||||
|
||||
| EonWristShield
|
||||
|
||||
| EoffWristShield
|
||||
|
||||
data Luse = LDoNothing
|
||||
| LRewind
|
||||
| LShrink
|
||||
|
||||
Reference in New Issue
Block a user