Make creature update an external function
This commit is contained in:
@@ -80,7 +80,8 @@ drawCreature cr = case _crType cr of
|
||||
, setDepth 0.049 . color (greyN 0.5) $ circleSolid 8
|
||||
, color (greyN 0.5) $ circleSolid 8
|
||||
]) cr
|
||||
Lampoid h -> picAtCrPosNoRot1 (lampCrPic h) cr
|
||||
Lampoid{_lampHeight=h} -> picAtCrPosNoRot1 (lampCrPic h) cr
|
||||
Turretoid -> mempty
|
||||
NonDrawnCreature -> mempty
|
||||
|
||||
lampCrPic :: Float -> Picture
|
||||
|
||||
Reference in New Issue
Block a user