bothack.handlers

deregister-handler

(deregister-handler bh handler)

register-handler

(register-handler bh & args)

replace-handler

(replace-handler bh handler-old handler-new)

update-at-player-when-known

(update-at-player-when-known bh update-fn & args)
Update the tile at player's next known position by applying update-fn to its
current value and args

update-before-action

(update-before-action bh f & args)
Before the next action is chosen call (apply swap! game f args).  This
happens when game state is updated and player position is known.

update-on-known-position

(update-on-known-position bh f & args)
When player position on map is known call (apply swap! game f args).  Game
state may not be fully updated yet for the turn.