Break 2d stuff into separate namespace

This commit is contained in:
oakes
2014-01-15 23:21:26 -05:00
parent 4ffa229c33
commit f4ba681303
4 changed files with 26 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
(ns play-clj.ui
(:require [play-clj.utils :as u])
(:require [play-clj.g2d :as g2d]
[play-clj.utils :as u])
(:import [com.badlogic.gdx Files Gdx]
[com.badlogic.gdx.graphics Color Texture]
[com.badlogic.gdx.graphics.g2d BitmapFont TextureRegion]
@@ -14,6 +15,9 @@
TiledDrawable]
[com.esotericsoftware.tablelayout Cell]))
; temporary inclusion to prevent breaking the template
(defonce draw! g2d/draw!)
(defmacro drawable
[type & options]
`(~(symbol (str u/main-package ".scenes.scene2d.ui."