Working element buffer object
This commit is contained in:
+5
-5
@@ -7,7 +7,7 @@ import Dodge.Default
|
||||
import Dodge.Picture
|
||||
import Picture
|
||||
import Geometry.Data
|
||||
import ShapePicture
|
||||
--import ShapePicture
|
||||
import Shape
|
||||
|
||||
keyToken :: Int -> Item
|
||||
@@ -16,8 +16,8 @@ keyToken n = defaultEquipment
|
||||
, _itName = "KEYTOKEN "++show n
|
||||
, _itMaxStack = 5
|
||||
, _itAmount = 1
|
||||
, _itFloorPict = SPic emptySH $ setDepth 0.5 keyPic
|
||||
, _itEquipPict = \_ _ -> SPic emptySH $ setDepth 0 $ translate (-5) (-5) $ rotate (pi/2.5) keyPic
|
||||
, _itFloorPict = (,) emptySH $ setDepth 0.5 keyPic
|
||||
, _itEquipPict = \_ _ -> (,) emptySH $ setDepth 0 $ translate (-5) (-5) $ rotate (pi/2.5) keyPic
|
||||
, _itEffect = NoItEffect
|
||||
, _itHammer = HammerUp
|
||||
, _itID = Nothing
|
||||
@@ -40,8 +40,8 @@ latchkey n = defaultEquipment
|
||||
, _itName = "KEY "++show n
|
||||
, _itMaxStack = 1
|
||||
, _itAmount = 1
|
||||
, _itFloorPict = SPic emptySH $ setDepth 0.5 latchkeyPic
|
||||
, _itEquipPict = \_ _ -> SPic emptySH $ setDepth 0 $ translate (-5) (-5) $ rotate (pi/2.5) latchkeyPic
|
||||
, _itFloorPict = (,) emptySH $ setDepth 0.5 latchkeyPic
|
||||
, _itEquipPict = \_ _ -> (,) emptySH $ setDepth 0 $ translate (-5) (-5) $ rotate (pi/2.5) latchkeyPic
|
||||
, _itEffect = NoItEffect
|
||||
, _itHammer = HammerUp
|
||||
, _itID = Nothing
|
||||
|
||||
Reference in New Issue
Block a user