Module

Screeps.Effects

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

#CMD Source

data CMD :: Effect

Tag for functions which execute a Screeps command as a side effect e.g. to move a creep.

#MEMORY Source

data MEMORY :: Effect

Memory accesses are tagged with this effect.

#TICK Source

data TICK :: Effect

Global scope is cleared periodically, so values depending on global variables like Game and Memory need to be fetched dynamically. This effect enforces this.

#TIME Source

data TIME :: Effect

For time-dependent functions where the output changes depending on when it is called.