Cleanup code, speed up radar sweeps
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
module Dodge.Item.Weapon.Radar (
|
||||
detectorEffect,
|
||||
) where
|
||||
|
||||
import Dodge.Data.World
|
||||
import Dodge.RadarSweep
|
||||
|
||||
detectorEffect :: Detector -> Item -> Creature -> World -> World
|
||||
detectorEffect dt = case dt of
|
||||
ITEMDETECTOR -> const (aRadarPulse ObItem)
|
||||
CREATUREDETECTOR -> const (aRadarPulse ObCreature)
|
||||
WALLDETECTOR -> const (aRadarPulse ObWall)
|
||||
Reference in New Issue
Block a user