diff --git a/src/play_clj/core_global.clj b/src/play_clj/core_global.clj index 399967b..25fb1e0 100644 --- a/src/play_clj/core_global.clj +++ b/src/play_clj/core_global.clj @@ -21,7 +21,7 @@ (color 1 1 1 1)" [& args] `~(if (keyword? (first args)) - `(Color. ^Color (u/static-field-upper :graphics :Color ~(first args))) + `(Color. ^Color (u/static-upper :graphics :Color ~(first args))) `(Color. ~@args))) ; interop @@ -99,7 +99,7 @@ (key-code :a) (key-code :page-down)" [k] - `~(u/static-upper "Input$Keys" k)) + `(u/static-upper "Input$Keys" ~k)) (defmacro is-pressed? "Returns a boolean indicating if the key cooresponding to `k` is being pressed diff --git a/src/play_clj/g2d.clj b/src/play_clj/g2d.clj index c1090db..9d9614c 100644 --- a/src/play_clj/g2d.clj +++ b/src/play_clj/g2d.clj @@ -144,7 +144,7 @@ (play-mode :normal) (play-mode :reversed)" [key] - `(u/static-field-upper :graphics :g2d :Animation ~key)) + `(u/static-upper :graphics :g2d :Animation ~key)) (defn animation* "The function version of `animation`" diff --git a/src/play_clj/ui.clj b/src/play_clj/ui.clj index e0a9d58..b96a300 100644 --- a/src/play_clj/ui.clj +++ b/src/play_clj/ui.clj @@ -45,7 +45,7 @@ based on the file at `path` (align :center)" [k] - `(u/static-field-lower :scenes :scene2d :utils :Align ~k)) + `(u/static-lower :scenes :scene2d :utils :Align ~k)) (defn cell! "Calls a single method on a [Cell](https://github.com/libgdx/libgdx/blob/master/gdx/src/com/esotericsoftware/tablelayout/Cell.java) diff --git a/src/play_clj/utils.clj b/src/play_clj/utils.clj index c47ebf3..9f5941b 100644 --- a/src/play_clj/utils.clj +++ b/src/play_clj/utils.clj @@ -100,7 +100,7 @@ pascal case" (scaling :stretch-x) (scaling :stretch-y)" [k] - `(static-field-lower :utils :Scaling ~k)) + `(static-lower :utils :Scaling ~k)) ; java interop