From 24709c6ae580df59b8a98646acc2d4f1f21acabf Mon Sep 17 00:00:00 2001 From: Michael Sappler Date: Thu, 21 Dec 2023 13:55:32 +0100 Subject: [PATCH] Update docs --- docs/gdl.app.html | 17 +++++++++-------- docs/gdl.context.assets.html | 2 +- docs/gdl.context.gui-world-views.html | 3 ++- docs/gdl.context.html | 8 +++++--- docs/gdl.context.image-drawer-creator.html | 2 +- docs/gdl.context.shape-drawer.html | 2 +- docs/gdl.context.sprite-batch.html | 2 +- docs/gdl.context.stage.html | 3 +++ docs/gdl.context.text-drawer.html | 2 +- docs/gdl.context.ttf-generator.html | 2 +- docs/gdl.context.vis-ui.html | 2 +- docs/gdl.default-context.html | 3 --- docs/gdl.dev.html | 4 ++-- docs/gdl.disposable.html | 2 +- docs/gdl.graphics.animation.html | 2 +- docs/gdl.graphics.camera.html | 2 +- docs/gdl.graphics.color.html | 2 +- docs/gdl.maps.tiled.html | 2 +- docs/gdl.math.geom.html | 2 +- docs/gdl.math.raycaster.html | 2 +- docs/gdl.math.vector.html | 2 +- docs/gdl.scene2d.actor.html | 2 +- docs/gdl.scene2d.stage.html | 4 ---- docs/gdl.scene2d.ui.html | 4 ++-- docs/gdl.screen.html | 2 +- docs/index.html | 8 ++++---- 26 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 docs/gdl.context.stage.html delete mode 100644 docs/gdl.default-context.html delete mode 100644 docs/gdl.scene2d.stage.html diff --git a/docs/gdl.app.html b/docs/gdl.app.html index e1e8ede..f40f557 100644 --- a/docs/gdl.app.html +++ b/docs/gdl.app.html @@ -1,10 +1,11 @@ -gdl.app documentation

gdl.app

start

(start config)
Example for required keys:
-{:app {:title "gdl demo"
-       :width 800
-       :height 600
-       :full-screen? false}
- :current-context current-context ; an atom
- :create-context create-context ; function with no args creating the context
- :first-screen :my-screen}
\ No newline at end of file +gdl.app documentation

gdl.app

current-context

start

(start config)
Required keys:
+ {:app {:title "gdl demo"
+        :width 800
+        :height 600
+        :full-screen? false}
+  :create-context create-context ; function with one argument creating the context, getting the default-context.
+  :first-screen :my-screen}
+
+Optionally you can pass :world-unit-scale for the world-view.
\ No newline at end of file diff --git a/docs/gdl.context.assets.html b/docs/gdl.context.assets.html index ae837ac..447421d 100644 --- a/docs/gdl.context.assets.html +++ b/docs/gdl.context.assets.html @@ -1,3 +1,3 @@ -gdl.context.assets documentation

gdl.context.assets

->context

(->context)
\ No newline at end of file +gdl.context.assets documentation

gdl.context.assets

->context

(->context)
\ No newline at end of file diff --git a/docs/gdl.context.gui-world-views.html b/docs/gdl.context.gui-world-views.html index eb4dbdf..a11fcb6 100644 --- a/docs/gdl.context.gui-world-views.html +++ b/docs/gdl.context.gui-world-views.html @@ -1,3 +1,4 @@ -gdl.context.gui-world-views documentation

gdl.context.gui-world-views

->context

(->context & {:keys [tile-size]})
\ No newline at end of file +gdl.context.gui-world-views documentation

gdl.context.gui-world-views

->context

(->context world-unit-scale)

fix-viewport-update

(fix-viewport-update context)
Sometimes the viewport update is not triggered.
+

update-viewports

(update-viewports {:keys [gui-viewport world-viewport]} w h)
\ No newline at end of file diff --git a/docs/gdl.context.html b/docs/gdl.context.html index 2cbcd76..53a07f0 100644 --- a/docs/gdl.context.html +++ b/docs/gdl.context.html @@ -1,9 +1,11 @@ -gdl.context documentation

gdl.context

ApplicationScreens

protocol

members

change-screen

(change-screen _ new-screen)
Calls screen/hide on the current-screen (if there is one).
+gdl.context documentation

gdl.context

ApplicationScreens

protocol

members

change-screen

(change-screen _ new-screen)
Calls screen/hide on the current-screen (if there is one).
 Throws AssertionError when the context does not have a new-screen.
 Calls screen/show on the new screen and
-returns the context with current-screen to new-screen.

current-screen

(current-screen _)

GuiWorldViews

protocol

members

fix-viewport-update

(fix-viewport-update _)

gui-mouse-position

(gui-mouse-position _)

pixels->world-units

(pixels->world-units _ pixels)

render-gui-view

(render-gui-view _ render-fn)

render-world-view

(render-world-view _ render-fn)

update-viewports

(update-viewports _ w h)

world-mouse-position

(world-mouse-position _)

ImageCreator

protocol

members

create-image

(create-image _ file)

get-scaled-copy

(get-scaled-copy _ image scale)
Scaled of original texture-dimensions, not any existing scale.
+returns the context with current-screen set to new-screen.

current-screen

(current-screen _)

GuiWorldViews

protocol

members

gui-mouse-position

(gui-mouse-position _)

pixels->world-units

(pixels->world-units _ pixels)

render-gui-view

(render-gui-view _ render-fn)

render-world-view

(render-world-view _ render-fn)

world-mouse-position

(world-mouse-position _)

ImageCreator

protocol

members

create-image

(create-image _ file)

get-scaled-copy

(get-scaled-copy _ image scale)
Scaled of original texture-dimensions, not any existing scale.
 

get-sprite

(get-sprite _ {:keys [tilew tileh], :as sheet} [x y])

get-sub-image

(get-sub-image _ {:keys [file sub-image-bounds], :as image})
Coordinates are from original image, not scaled one.
 

spritesheet

(spritesheet _ file tilew tileh)

ImageDrawer

protocol

members

draw-centered-image

(draw-centered-image _ image position)

draw-image

(draw-image _ image position)

draw-rotated-centered-image

(draw-rotated-centered-image _ image rotation position)

ShapeDrawer

protocol

members

draw-arc

(draw-arc _ center-position radius start-angle degree color)

draw-circle

(draw-circle _ position radius color)

draw-ellipse

(draw-ellipse _ position radius-x radius-y color)

draw-filled-circle

(draw-filled-circle _ position radius color)

draw-filled-ellipse

(draw-filled-ellipse _ position radius-x radius-y color)

draw-filled-rectangle

(draw-filled-rectangle _ x y w h color)

draw-grid

(draw-grid drawer leftx bottomy gridw gridh cellw cellh color)

draw-line

(draw-line _ start-position end-position color)

draw-rectangle

(draw-rectangle _ x y w h color)

draw-sector

(draw-sector _ center-position radius start-angle degree color)

with-shape-line-width

(with-shape-line-width _ width draw-fn)

SoundStore

protocol

members

play-sound!

(play-sound! _ file)
Sound is already loaded from file, this will perform only a lookup for the sound and play it.
-

TextDrawer

protocol

members

draw-text

(draw-text _ {:keys [font text x y h-align up?]})

TrueTypeFontGenerator

protocol

members

generate-ttf

(generate-ttf _ {:keys [file size]})
\ No newline at end of file +

Stage

protocol

members

->stage-screen

(->stage-screen _ {:keys [stage sub-screen]})
A screen with a stage as an input-processor which gets drawn and 'act'ed and disposed.
+The sub-screen is rendered and tick'ed before the stage.
+Sub-screen is optional.

get-stage

(get-stage _)

mouse-on-stage-actor?

(mouse-on-stage-actor? _)

TextDrawer

protocol

members

draw-text

(draw-text _ {:keys [font text x y h-align up?]})

TrueTypeFontGenerator

protocol

members

generate-ttf

(generate-ttf _ {:keys [file size]})

Widgets

protocol

members

->check-box

(->check-box _ text on-clicked checked?)

->image-button

(->image-button _ image on-clicked)

->text-button

(->text-button _ text on-clicked)
\ No newline at end of file diff --git a/docs/gdl.context.image-drawer-creator.html b/docs/gdl.context.image-drawer-creator.html index c59649f..1cb9b9a 100644 --- a/docs/gdl.context.image-drawer-creator.html +++ b/docs/gdl.context.image-drawer-creator.html @@ -1,3 +1,3 @@ -gdl.context.image-drawer-creator documentation

gdl.context.image-drawer-creator

\ No newline at end of file +gdl.context.image-drawer-creator documentation

gdl.context.image-drawer-creator

\ No newline at end of file diff --git a/docs/gdl.context.shape-drawer.html b/docs/gdl.context.shape-drawer.html index 0c2de2d..e3c3b74 100644 --- a/docs/gdl.context.shape-drawer.html +++ b/docs/gdl.context.shape-drawer.html @@ -1,3 +1,3 @@ -gdl.context.shape-drawer documentation

gdl.context.shape-drawer

->context

(->context {:keys [batch]})
\ No newline at end of file +gdl.context.shape-drawer documentation

gdl.context.shape-drawer

->context

(->context {:keys [batch]})
\ No newline at end of file diff --git a/docs/gdl.context.sprite-batch.html b/docs/gdl.context.sprite-batch.html index c98629e..a1b3936 100644 --- a/docs/gdl.context.sprite-batch.html +++ b/docs/gdl.context.sprite-batch.html @@ -1,3 +1,3 @@ -gdl.context.sprite-batch documentation

gdl.context.sprite-batch

->context

(->context)
\ No newline at end of file +gdl.context.sprite-batch documentation

gdl.context.sprite-batch

->context

(->context)
\ No newline at end of file diff --git a/docs/gdl.context.stage.html b/docs/gdl.context.stage.html new file mode 100644 index 0000000..87778cb --- /dev/null +++ b/docs/gdl.context.stage.html @@ -0,0 +1,3 @@ + +gdl.context.stage documentation

gdl.context.stage

\ No newline at end of file diff --git a/docs/gdl.context.text-drawer.html b/docs/gdl.context.text-drawer.html index 0101b6a..583e168 100644 --- a/docs/gdl.context.text-drawer.html +++ b/docs/gdl.context.text-drawer.html @@ -1,3 +1,3 @@ -gdl.context.text-drawer documentation

gdl.context.text-drawer

->context

(->context)
\ No newline at end of file +gdl.context.text-drawer documentation

gdl.context.text-drawer

->context

(->context)
\ No newline at end of file diff --git a/docs/gdl.context.ttf-generator.html b/docs/gdl.context.ttf-generator.html index b2b283b..2dcb13d 100644 --- a/docs/gdl.context.ttf-generator.html +++ b/docs/gdl.context.ttf-generator.html @@ -1,4 +1,4 @@ -gdl.context.ttf-generator documentation

gdl.context.ttf-generator

Convinience clojure constructor for the java
+gdl.context.ttf-generator documentation

gdl.context.ttf-generator

Convinience clojure constructor for the java
 com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator class.
\ No newline at end of file diff --git a/docs/gdl.context.vis-ui.html b/docs/gdl.context.vis-ui.html index f67eba7..e559d39 100644 --- a/docs/gdl.context.vis-ui.html +++ b/docs/gdl.context.vis-ui.html @@ -1,3 +1,3 @@ -gdl.context.vis-ui documentation

gdl.context.vis-ui

->context

(->context)
\ No newline at end of file +gdl.context.vis-ui documentation

gdl.context.vis-ui

->context

(->context)
\ No newline at end of file diff --git a/docs/gdl.default-context.html b/docs/gdl.default-context.html deleted file mode 100644 index 64a6dfc..0000000 --- a/docs/gdl.default-context.html +++ /dev/null @@ -1,3 +0,0 @@ - -gdl.default-context documentation

gdl.default-context

->context

(->context & {:keys [tile-size]})
\ No newline at end of file diff --git a/docs/gdl.dev.html b/docs/gdl.dev.html index fc8a115..63f476e 100644 --- a/docs/gdl.dev.html +++ b/docs/gdl.dev.html @@ -1,6 +1,6 @@ -gdl.dev documentation

gdl.dev

Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without
+gdl.dev documentation

gdl.dev

Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without
 restarting the JVM.
 Also starts an nrepl server which will keep up even between app crashes and restarts.
 
@@ -18,5 +18,5 @@
 You can bind this on a key for smooth dev experience, here in VIM:
 ``` vimscript
 nmap <F5> :Eval (do (in-ns 'gdl.dev)(restart!))
-```

-main

(-main & [app-namespace app-start-fn])

restart!

(restart!)
Calls refresh on all namespaces with file changes and restarts the application.
+```

-main

(-main & [app-namespace app-start-fn])

restart!

(restart!)
Calls refresh on all namespaces with file changes and restarts the application.
 (has to be started with `lein run -m dev`)
\ No newline at end of file diff --git a/docs/gdl.disposable.html b/docs/gdl.disposable.html index 4766719..829f2ed 100644 --- a/docs/gdl.disposable.html +++ b/docs/gdl.disposable.html @@ -1,3 +1,3 @@ -gdl.disposable documentation

gdl.disposable

Disposable

protocol

members

dispose

(dispose _)
\ No newline at end of file +gdl.disposable documentation

gdl.disposable

Disposable

protocol

members

dispose

(dispose _)
\ No newline at end of file diff --git a/docs/gdl.graphics.animation.html b/docs/gdl.graphics.animation.html index 05707bb..dfa400d 100644 --- a/docs/gdl.graphics.animation.html +++ b/docs/gdl.graphics.animation.html @@ -1,4 +1,4 @@ -gdl.graphics.animation documentation

gdl.graphics.animation

An immutable animation defrecord (plain map) for passing image objects to 'frames'.
+gdl.graphics.animation documentation

gdl.graphics.animation

An immutable animation defrecord (plain map) for passing image objects to 'frames'.
 

Animation

protocol

members

current-frame

(current-frame _)

restart

(restart _)

stopped?

(stopped? _)

tick

(tick _ delta)

create

(create frames & {:keys [frame-duration looping?]})
\ No newline at end of file diff --git a/docs/gdl.graphics.camera.html b/docs/gdl.graphics.camera.html index f216444..c03c46e 100644 --- a/docs/gdl.graphics.camera.html +++ b/docs/gdl.graphics.camera.html @@ -1,4 +1,4 @@ -gdl.graphics.camera documentation

gdl.graphics.camera

Convinience functions operating on com.badlogic.gdx.graphics.OrthographicCamera.
+gdl.graphics.camera documentation

gdl.graphics.camera

Convinience functions operating on com.badlogic.gdx.graphics.OrthographicCamera.
 

frustum

(frustum camera)

position

(position camera)

set-position!

(set-position! camera [x y])

set-zoom!

(set-zoom! camera amount)

visible-tiles

(visible-tiles camera)
\ No newline at end of file diff --git a/docs/gdl.graphics.color.html b/docs/gdl.graphics.color.html index c762c5f..e266807 100644 --- a/docs/gdl.graphics.color.html +++ b/docs/gdl.graphics.color.html @@ -1,4 +1,4 @@ -gdl.graphics.color documentation

gdl.graphics.color

Convinience constructors for com.badlogic.gdx.graphics.Color, which do float casting on the arguments.
+gdl.graphics.color documentation

gdl.graphics.color

Convinience constructors for com.badlogic.gdx.graphics.Color, which do float casting on the arguments.
 

defrgb

macro

(defrgb symbol & rgb-args)

rgb

(rgb r g b)(rgb r g b a)
\ No newline at end of file diff --git a/docs/gdl.maps.tiled.html b/docs/gdl.maps.tiled.html index 4f49e36..16783eb 100644 --- a/docs/gdl.maps.tiled.html +++ b/docs/gdl.maps.tiled.html @@ -1,6 +1,6 @@ -gdl.maps.tiled documentation

gdl.maps.tiled

Convinience API for the com.badlogic.gdx.maps.tiled classes.
+gdl.maps.tiled documentation

gdl.maps.tiled

Convinience API for the com.badlogic.gdx.maps.tiled classes.
 

cell-at

(cell-at [x y] tiled-map layer)

dispose

(dispose tiled-map)

get-property

multimethod

height

(height tiled-map)

layer-index

(layer-index tiled-map layer)

layer-name

(layer-name layer)

layers

(layers tiled-map)

load-map

(load-map file)
Requires OpenGL context (texture generation).
 

positions-with-property

(positions-with-property tiled-map layer property)

property-value

(property-value position tiled-map layer property)
Returns the property value from layer and position.
 If there is no cell returns :no-cell and if the property value is undefined returns :undefined.

remove-layer!

(remove-layer! tiled-map layer)

render-map

(render-map {:keys [world-camera], :as context} tiled-map color-setter)

width

(width tiled-map)
\ No newline at end of file diff --git a/docs/gdl.math.geom.html b/docs/gdl.math.geom.html index e1243ba..338bb19 100644 --- a/docs/gdl.math.geom.html +++ b/docs/gdl.math.geom.html @@ -1,4 +1,4 @@ -gdl.math.geom documentation

gdl.math.geom

API wrapping com.badlogic.gdx.math.Intersector
+gdl.math.geom documentation

gdl.math.geom

API wrapping com.badlogic.gdx.math.Intersector
 

circle->outer-rectangle

(circle->outer-rectangle {[x y] :position, :keys [radius], :as circle})

collides?

(collides? a b)

point-in-rect?

(point-in-rect? [x y] rectangle)
\ No newline at end of file diff --git a/docs/gdl.math.raycaster.html b/docs/gdl.math.raycaster.html index 8ebe286..13da53e 100644 --- a/docs/gdl.math.raycaster.html +++ b/docs/gdl.math.raycaster.html @@ -1,4 +1,4 @@ -gdl.math.raycaster documentation

gdl.math.raycaster

An implementation of Bresenham line drawing algorithm for casting rays on a two dimensional array.
+gdl.math.raycaster documentation

gdl.math.raycaster

An implementation of Bresenham line drawing algorithm for casting rays on a two dimensional array.
 

ray-blocked?

(ray-blocked? boolean-2d-array width height [start-x start-y] [target-x target-y])
\ No newline at end of file diff --git a/docs/gdl.math.vector.html b/docs/gdl.math.vector.html index 168ade9..5a4461c 100644 --- a/docs/gdl.math.vector.html +++ b/docs/gdl.math.vector.html @@ -1,6 +1,6 @@ -gdl.math.vector documentation

gdl.math.vector

API for using com.badlogic.gdx.math.Vector2 with clojure [x y] vectors.
+gdl.math.vector documentation

gdl.math.vector

API for using com.badlogic.gdx.math.Vector2 with clojure [x y] vectors.
 

add

(add v1 v2)

add-or-subtract-angle

(add-or-subtract-angle current-angle new-angle)
man will current in richtung new rotieren. muss man dazu add or subtract machen f�r den k�rzesten weg?
 returns add or subtract-function

degree-add

(degree-add degree by)

degree-minus

(degree-minus degree by)

degrees?

(degrees? n)

direction

(direction [sx sy] [tx ty])

distance

(distance v1 v2)

get-angle-from-vector

(get-angle-from-vector v)
converts theta of Vector2 to angle from top (top is 0 degree, moving left is 90 degree etc.), ->counterclockwise
 

get-angle-to-position

(get-angle-to-position {originx 0, :as origin} {targetx 0, :as target})
Treat Position a the middle of the coordinate sytem and the angle is from the top
diff --git a/docs/gdl.scene2d.actor.html b/docs/gdl.scene2d.actor.html
index 68d63fa..d754ae5 100644
--- a/docs/gdl.scene2d.actor.html
+++ b/docs/gdl.scene2d.actor.html
@@ -1,4 +1,4 @@
 
-gdl.scene2d.actor documentation

gdl.scene2d.actor

Helper functions for com.badlogic.gdx.scenes.scene2d.Actor
+gdl.scene2d.actor documentation

gdl.scene2d.actor

Helper functions for com.badlogic.gdx.scenes.scene2d.Actor
 'id' is defined by using .getUserObject and .setUserObject in Actor class.

id

(id actor)

set-center

(set-center actor x y)

set-id

(set-id actor id)

set-opts

(set-opts actor {:keys [id]})

set-touchable

(set-touchable actor touchable)

toggle-visible!

(toggle-visible! actor)
\ No newline at end of file diff --git a/docs/gdl.scene2d.stage.html b/docs/gdl.scene2d.stage.html deleted file mode 100644 index 0b345aa..0000000 --- a/docs/gdl.scene2d.stage.html +++ /dev/null @@ -1,4 +0,0 @@ - -gdl.scene2d.stage documentation

gdl.scene2d.stage

Helper function for creating com.badlogic.gdx.scenes.scene2d.Stage which implements also clojure.lang.ILookup to access actors with an id.
-

create

(create viewport batch)

hit

(hit stage [x y])
\ No newline at end of file diff --git a/docs/gdl.scene2d.ui.html b/docs/gdl.scene2d.ui.html index 1d7305b..1147ebb 100644 --- a/docs/gdl.scene2d.ui.html +++ b/docs/gdl.scene2d.ui.html @@ -1,4 +1,4 @@ -gdl.scene2d.ui documentation

gdl.scene2d.ui

Widget constructors and helper functions for com.kotcrab.vis.ui
-See: https://github.com/kotcrab/vis-ui

add-rows

(add-rows table rows)

check-box

(check-box text on-clicked checked?)

default-skin

image

(image drawable & opts)

image-button

(image-button image on-clicked)

label

(label text)

set-cell-opts

(set-cell-opts cell opts)

set-opts

(set-opts actor opts)

set-table-opts

(set-table-opts table {:keys [rows cell-defaults]})

set-text

(set-text label text)

set-widget-group-opts

(set-widget-group-opts widget-group {:keys [fill-parent? pack?]})

split-pane

(split-pane & {:keys [first-widget second-widget vertical?], :as opts})

stack

(stack)

table

(table & opts)

text-button

(text-button text on-clicked)

text-field

(text-field text & opts)

text-tooltip

(text-tooltip textfn)

texture-region-drawable

(texture-region-drawable texture)

window

(window & {:keys [title modal?], :as opts})
\ No newline at end of file +gdl.scene2d.ui documentation

gdl.scene2d.ui

Widget constructors and helper functions for com.kotcrab.vis.ui
+See: https://github.com/kotcrab/vis-ui

add-rows

(add-rows table rows)

default-skin

image

(image drawable & opts)

label

(label text)

set-cell-opts

(set-cell-opts cell opts)

set-opts

(set-opts actor opts)

set-table-opts

(set-table-opts table {:keys [rows cell-defaults]})

set-text

(set-text label text)

set-widget-group-opts

(set-widget-group-opts widget-group {:keys [fill-parent? pack?]})

split-pane

(split-pane & {:keys [first-widget second-widget vertical?], :as opts})

stack

(stack)

table

(table & opts)

text-field

(text-field text & opts)

text-tooltip

(text-tooltip textfn)

texture-region-drawable

(texture-region-drawable texture)

window

(window & {:keys [title modal?], :as opts})
\ No newline at end of file diff --git a/docs/gdl.screen.html b/docs/gdl.screen.html index 402a841..af67e91 100644 --- a/docs/gdl.screen.html +++ b/docs/gdl.screen.html @@ -1,3 +1,3 @@ -gdl.screen documentation

gdl.screen

Screen

protocol

members

hide

(hide _ context)

render

(render _ context)

show

(show _ context)

tick

(tick _ context delta)
\ No newline at end of file +gdl.screen documentation

gdl.screen

Screen

protocol

members

hide

(hide _ context)

render

(render _ context)

show

(show _ context)

tick

(tick _ context delta)
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 15a01ce..964a208 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,8 +1,8 @@ -Gdl main-SNAPSHOT

Gdl main-SNAPSHOT

Installation

To install, add the following dependency to your project or build file:

[com.github.damn/gdl "main-SNAPSHOT"]

Namespaces

gdl.app

Public variables and functions:

gdl.context.assets

Public variables and functions:

gdl.context.gui-world-views

Public variables and functions:

gdl.context.image-drawer-creator

Public variables and functions:

    gdl.context.shape-drawer

    Public variables and functions:

    gdl.context.sprite-batch

    Public variables and functions:

    gdl.context.text-drawer

    Public variables and functions:

    gdl.context.ttf-generator

    Convinience clojure constructor for the java
    -com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator class.

    Public variables and functions:

      gdl.context.vis-ui

      Public variables and functions:

      gdl.default-context

      Public variables and functions:

      gdl.dev

      Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without
      +Gdl main-SNAPSHOT

      Gdl main-SNAPSHOT

      Installation

      To install, add the following dependency to your project or build file:

      [com.github.damn/gdl "main-SNAPSHOT"]

      Namespaces

      gdl.app

      Public variables and functions:

      gdl.context.assets

      Public variables and functions:

      gdl.context.image-drawer-creator

      Public variables and functions:

        gdl.context.shape-drawer

        Public variables and functions:

        gdl.context.sprite-batch

        Public variables and functions:

        gdl.context.stage

        Public variables and functions:

          gdl.context.text-drawer

          Public variables and functions:

          gdl.context.ttf-generator

          Convinience clojure constructor for the java
          +com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator class.

          Public variables and functions:

            gdl.context.vis-ui

            Public variables and functions:

            gdl.dev

            Starts a dev loop using clojure.tools.namespace.repl/refresh in order to restart the app without
             restarting the JVM.
             Also starts an nrepl server which will keep up even between app crashes and restarts.

            Public variables and functions:

            gdl.disposable

            Public variables and functions:

            gdl.graphics.animation

            An immutable animation defrecord (plain map) for passing image objects to 'frames'.

            Public variables and functions:

            gdl.graphics.camera

            Convinience functions operating on com.badlogic.gdx.graphics.OrthographicCamera.

            Public variables and functions:

            gdl.graphics.color

            Convinience constructors for com.badlogic.gdx.graphics.Color, which do float casting on the arguments.

            Public variables and functions:

            gdl.maps.tiled

            Convinience API for the com.badlogic.gdx.maps.tiled classes.

            gdl.math.geom

            API wrapping com.badlogic.gdx.math.Intersector

            Public variables and functions:

            gdl.math.raycaster

            An implementation of Bresenham line drawing algorithm for casting rays on a two dimensional array.

            Public variables and functions:

            gdl.scene2d.actor

            Helper functions for com.badlogic.gdx.scenes.scene2d.Actor
            -'id' is defined by using .getUserObject and .setUserObject in Actor class.

            Public variables and functions:

            gdl.scene2d.stage

            Helper function for creating com.badlogic.gdx.scenes.scene2d.Stage which implements also clojure.lang.ILookup to access actors with an id.

            Public variables and functions:

            gdl.screen

            Public variables and functions:

            \ No newline at end of file +'id' is defined by using .getUserObject and .setUserObject in Actor class.

            Public variables and functions:

            gdl.screen

            Public variables and functions:

            \ No newline at end of file