Module

Screeps.Tower

Package
purescript-screeps-classy
Repository
purescript/purescript-screeps

Corresponds to the Screeps API StructureTower

#attack Source

attack :: forall e. Tower -> Creep -> Eff (cmd :: CMD | e) ReturnCode

#heal Source

heal :: forall e. Tower -> Creep -> Eff (cmd :: CMD | e) ReturnCode

#repair Source

repair :: forall e a. Structure a => Tower -> a -> Eff (cmd :: CMD | e) ReturnCode

#transferEnergy Source

transferEnergy :: forall e. Tower -> Creep -> Eff (cmd :: CMD | e) ReturnCode

#transferEnergyAmt Source

transferEnergyAmt :: forall e. Tower -> Creep -> Int -> Eff (cmd :: CMD | e) ReturnCode