Add template
This commit is contained in:
10
template/src/leiningen/new/play_clj/desktop-launcher.clj
Normal file
10
template/src/leiningen/new/play_clj/desktop-launcher.clj
Normal file
@@ -0,0 +1,10 @@
|
||||
(ns {{desktop-namespace}}
|
||||
(:require [{{namespace}} :refer :all])
|
||||
(:import [com.badlogic.gdx.backends.lwjgl LwjglApplication]
|
||||
[org.lwjgl.input Keyboard])
|
||||
(:gen-class))
|
||||
|
||||
(defn -main
|
||||
[]
|
||||
(LwjglApplication. {{app-name}} "{{app-name}}" 800 600 true)
|
||||
(Keyboard/enableRepeatEvents true))
|
||||
Reference in New Issue
Block a user