port module Types.ObjClass
This commit is contained in:
parent
55f688e9be
commit
c110f29c8f
1 changed files with 2 additions and 4 deletions
|
@ -8,8 +8,6 @@ import Affection
|
||||||
import Data.Ecstasy
|
import Data.Ecstasy
|
||||||
|
|
||||||
import Types.Entity
|
import Types.Entity
|
||||||
import Types.UserData
|
|
||||||
import Types.Direction
|
|
||||||
|
|
||||||
class ObjectAction otype ostate where
|
class ObjectAction otype ostate where
|
||||||
objectAction
|
objectAction
|
||||||
|
@ -17,7 +15,7 @@ class ObjectAction otype ostate where
|
||||||
-> otype
|
-> otype
|
||||||
-> ostate
|
-> ostate
|
||||||
-> Ent
|
-> Ent
|
||||||
-> SystemT Entity (AffectionState (AffectionData UserData) IO) ()
|
-> SystemT Entity (AffectionState AffectionData IO) ()
|
||||||
|
|
||||||
objectTransition
|
objectTransition
|
||||||
:: otype
|
:: otype
|
||||||
|
@ -25,7 +23,7 @@ class ObjectAction otype ostate where
|
||||||
-> Bool
|
-> Bool
|
||||||
-> Ent
|
-> Ent
|
||||||
-> Maybe Ent
|
-> Maybe Ent
|
||||||
-> SystemT Entity (AffectionState (AffectionData UserData) IO) (Entity 'SetterOf)
|
-> SystemT Entity (AffectionState AffectionData IO) (Entity 'SetterOf)
|
||||||
|
|
||||||
class ActionTime otype ostate where
|
class ActionTime otype ostate where
|
||||||
actionTime :: otype -> ostate -> Double
|
actionTime :: otype -> ostate -> Double
|
||||||
|
|
Loading…
Reference in a new issue