Liking cljdoc? Tell your friends :D

prospero.mutable


current-stateclj/s

(current-state)

Can be used to fetch the entire mutable state. Probably unwise to use this within a game-object update function. It would be much better to use (progo/watch-mutable).

Can be used to fetch the entire mutable state.  Probably
unwise to use this within a game-object update function.  It
would be much better to use `(progo/watch-mutable)`.
sourceraw docstring

current-state-inclj/s

(current-state-in key-path)
(current-state-in key-path default)

Can be used to fetch a portion of the mutable state. Probably unwise to use this within a game-object update function. It would be much better to use (progo/watch-mutable).

Can be used to fetch a portion of the mutable state.  Probably
unwise to use this within a game-object update function.  It
would be much better to use `(progo/watch-mutable)`.
sourceraw docstring

game-mutable-stateclj/s

source

set-state!clj/s

(set-state! key-path update-value)

Set mutable state

(promut/set-state! [:some :path :here] true)
Set mutable state
```
(promut/set-state! [:some :path :here] true)
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close