Game launches and exits cleanly, nothing actually works.

This commit is contained in:
Simon Brooke 2021-11-18 14:22:46 +00:00
parent 4ff29c4ddd
commit 6f4a23423d
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987

View file

@ -3,8 +3,16 @@
(: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*
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.))
(start app)
(defn -main
"This should be pretty simple."
[& args]
(let [app (ClimateGameApp.)]
(try
(start app)
(catch Exception any
(println (.getMessage any))))))