(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)`.
(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)`.
(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) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close