Liking cljdoc? Tell your friends :D

play-clj.utils


*asset-manager*clj

source

*timers*clj

source

call!cljmacro

(call! obj k & args)

Calls method k of obj with args.

(call! "I'm a string" :index-of "s")

Calls method `k` of `obj` with `args`.

(call! "I'm a string" :index-of "s")
sourceraw docstring

calls!cljmacro

(calls! obj & args)

Calls methods on obj.

(calls! (java.util.ArrayList.) :add "I'm a string" :add "So am I")

Calls methods on `obj`.

(calls! (java.util.ArrayList.) :add "I'm a string" :add "So am I")
sourceraw docstring

create-field-settersclj

(create-field-setters obj {:keys [] :as args})
source

create-method-callsclj

(create-method-calls calls args)
source

fields!cljmacro

(fields! obj & args)

Sets fields on obj (it is important that obj is a symbol, because when the macro expands it will use it several times, and you probably don't want a new object to be created each time a field is set).

(fields! obj
         :active true
         :angle 2
         :awake true
         :fixed-rotation false)
Sets fields on `obj` (it is important that `obj` is a symbol, because when
the macro expands it will use it several times, and you probably don't want a
new object to be created each time a field is set).

    (fields! obj
             :active true
             :angle 2
             :awake true
             :fixed-rotation false)
sourceraw docstring

gdxclj

(gdx & args)

Returns a fully-qualified libGDX symbol.

Returns a fully-qualified libGDX symbol.
sourceraw docstring

gdx-arraycljmacro

(gdx-array clj-arr & options)

Returns an Array.

(gdx-array [1 2 3 4])

Returns an [Array](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/Array.html).

(gdx-array [1 2 3 4])
sourceraw docstring

gdx-array!cljmacro

(gdx-array! object k & options)

Calls a single method on a gdx-array.

Calls a single method on a `gdx-array`.
sourceraw docstring

gdx-array*clj

(gdx-array* clj-arr)
source

gdx-array-mapcljmacro

(gdx-array-map clj-map & options)

Returns an ArrayMap.

(gdx-array-map {:key-1 1 :key-2 2})

Returns an [ArrayMap](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/ArrayMap.html).

(gdx-array-map {:key-1 1 :key-2 2})
sourceraw docstring

gdx-array-map!cljmacro

(gdx-array-map! object k & options)

Calls a single method on a gdx-array-map.

Calls a single method on a `gdx-array-map`.
sourceraw docstring

gdx-array-map*clj

(gdx-array-map* clj-map)
source

gdx-classclj

(gdx-class & args)

Returns a fully-qualified libGDX static class.

Returns a fully-qualified libGDX static class.
sourceraw docstring

gdx-fieldclj

(gdx-field & args)

Returns a fully-qualified libGDX static method or field.

Returns a fully-qualified libGDX static method or field.
sourceraw docstring

get-objclj

(get-obj obj k)
source

key->camelclj

(key->camel k)

Returns a string based on keyword k with camel case and no delimiters.

Returns a string based on keyword `k` with camel case and no delimiters.
sourceraw docstring

key->methodclj

(key->method k)

Returns a symbol based on keyword k formatted as a method call.

Returns a symbol based on keyword `k` formatted as a method call.
sourceraw docstring

key->pascalclj

(key->pascal k)

Returns a string based on keyword k with pascal case and no delimiters.

Returns a string based on keyword `k` with pascal case and no delimiters.
sourceraw docstring

key->upperclj

(key->upper k)

Returns a string based on keyword k with upper case and underscores.

Returns a string based on keyword `k` with upper case and underscores.
sourceraw docstring

load-assetclj

(load-asset path type)
source

main-packageclj

source

stop-timers!clj

(stop-timers!)
source

throw-key-not-foundclj

(throw-key-not-found k)
source

track-timers!clj

(track-timers!)
source

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

× close