Add model and model-builder

This commit is contained in:
oakes
2014-01-29 02:18:00 -05:00
parent bb305f099f
commit d2ffe4463f
2 changed files with 60 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
(:require [clojure.string :as s])
(:import [com.badlogic.gdx.graphics.g2d NinePatch ParticleEffect
TextureRegion]
[com.badlogic.gdx.graphics.g3d ModelInstance]
[com.badlogic.gdx.scenes.scene2d Actor]
[com.badlogic.gdx.utils Array ArrayMap]))
@@ -205,3 +206,7 @@ new object to be created each time a field is set)
(defmethod create-entity Actor
[obj]
{:type :actor :object obj})
(defmethod create-entity ModelInstance
[obj]
{:type :model :object obj})