Start 0.2.1-SNAPSHOT

This commit is contained in:
oakes
2014-02-18 13:57:21 -05:00
parent 46fb0cce6d
commit 030c823699
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
(defproject play-clj "0.2.0"
(defproject play-clj "0.2.1-SNAPSHOT"
:description "A LibGDX wrapper for easy cross-platform game development"
:url "https://github.com/oakes/play-clj"
:license {:name "Public Domain"

View File

@@ -6,7 +6,7 @@
[com.badlogic.gdx.audio Sound]
[com.badlogic.gdx.assets AssetManager]
[com.badlogic.gdx.graphics Camera Color GL20 OrthographicCamera
PerspectiveCamera VertexAttributes$Usage]
PerspectiveCamera Texture VertexAttributes$Usage]
[com.badlogic.gdx.graphics.g2d NinePatch ParticleEffect SpriteBatch
TextureRegion]
[com.badlogic.gdx.graphics.g3d Environment ModelBatch ModelInstance]
@@ -91,7 +91,9 @@ bound to a map containing various important values related to the screen"
[{:keys [on-create]}]
(proxy [Game] []
(create []
(when on-create (on-create this)))))
(Texture/setEnforcePotImages false)
(when on-create
(on-create this)))))
(defmacro defgame
"Creates a var for the symbol `n` bound to a [Game](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Game.html)