Game launches and exits cleanly, nothing actually works.
This commit is contained in:
parent
4ff29c4ddd
commit
6f4a23423d
|
@ -3,8 +3,16 @@
|
||||||
(:require [cc.journeyman.climate-game.planet.geometry :refer [init-planet]]
|
(:require [cc.journeyman.climate-game.planet.geometry :refer [init-planet]]
|
||||||
[jme-clj.core :refer [add-light-to-root add-to-root box defsimpleapp generate geo get*
|
[jme-clj.core :refer [add-light-to-root add-to-root box defsimpleapp generate geo get*
|
||||||
light load-texture material rotate set* sphere start vec3]])
|
light load-texture material rotate set* sphere start vec3]])
|
||||||
(:import [cc.journeyman.climate_game ClimateGameApp]))
|
(:import [cc.journeyman.climate_game ClimateGameApp])
|
||||||
|
(:gen-class))
|
||||||
|
|
||||||
(def app (ClimateGameApp.))
|
|
||||||
|
|
||||||
|
(defn -main
|
||||||
|
"This should be pretty simple."
|
||||||
|
[& args]
|
||||||
|
(let [app (ClimateGameApp.)]
|
||||||
|
(try
|
||||||
(start app)
|
(start app)
|
||||||
|
(catch Exception any
|
||||||
|
(println (.getMessage any))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue