Fold in new composing room datatype
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
module Dodge.Annotation.Data where
|
||||
import Dodge.Data
|
||||
import Dodge.Room
|
||||
import Dodge.Tree.Compose.Data
|
||||
|
||||
import Data.Tree
|
||||
import Control.Monad.State
|
||||
@@ -15,10 +16,10 @@ data Annotation g
|
||||
| FirstWeapon
|
||||
| EndRoom
|
||||
| OrAno [[Annotation g]]
|
||||
| SpecificRoom (State g (Tree (Either Room Room)))
|
||||
| SpecificRoom (State g (SubCompTree Room))
|
||||
| BossAno Creature
|
||||
| TreasureAno [Creature] [Item]
|
||||
| AnoApplyInt Int (Int -> State g (Tree (Either Room Room)))
|
||||
| AnoApplyInt Int (Int -> State g (SubCompTree Room))
|
||||
| SetLabel Int (State g Room)
|
||||
| UseLabel Int (State g Room)
|
||||
| ChainAnos [[Annotation g]]
|
||||
|
||||
Reference in New Issue
Block a user