Liking cljdoc? Tell your friends :D
Clojure only.

play-clj.repl


eclj

(e screen-object)
(e filter-fn screen-object)

Returns the entities in screen-object, optionally filtered by a supplied function.

(e :player? main-screen)
(e texture? main-screen)
Returns the entities in `screen-object`, optionally filtered by a supplied
function.

    (e :player? main-screen)
    (e texture? main-screen)
sourceraw docstring

e!clj

(e! filter-fn screen-object & args)

Associates values to the entities in screen-object that match the supplied function. Returns the entities that were changed.

(e! :player? main-screen :health 10)
Associates values to the entities in `screen-object` that match the supplied
function. Returns the entities that were changed.

    (e! :player? main-screen :health 10)
sourceraw docstring

sclj

(s screen-object)

Returns the screen map in screen-object.

(s main-screen)

Returns the screen map in `screen-object`.

(s main-screen)
sourceraw docstring

s!clj

(s! screen-object & args)

Associates values to the screen map in screen-object. Returns the new screen map.

(s! main-screen :camera (orthographic))
Associates values to the screen map in `screen-object`. Returns the new
screen map.

    (s! main-screen :camera (orthographic))
sourceraw docstring

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

× close