From eab8caaf638583614785c8095ceade04607f4920 Mon Sep 17 00:00:00 2001 From: oakes Date: Sat, 2 Aug 2014 16:43:49 -0400 Subject: [PATCH] Fix libGDX capitalization --- README.md | 2 +- TUTORIAL.md | 2 +- doclet/README.md | 2 +- project.clj | 2 +- src/play_clj/utils.clj | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e15d117..1ff15dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Introduction -A Clojure library that provides a wrapper for [LibGDX](http://libgdx.badlogicgames.com/), allowing you to write 2D and 3D games that run on desktop OSes (Windows, OS X, and Linux) and mobile OSes (Android and iOS) with the same Clojure codebase. +A Clojure library that provides a wrapper for [libGDX](http://libgdx.badlogicgames.com/), allowing you to write 2D and 3D games that run on desktop OSes (Windows, OS X, and Linux) and mobile OSes (Android and iOS) with the same Clojure codebase. ## Getting Started diff --git a/TUTORIAL.md b/TUTORIAL.md index 59fee4e..bb91fe2 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -249,7 +249,7 @@ Lastly, at any time you can remove a timer: ## Java Interop -At some point, you will need to do more than simple positioning and sizing. For that, you'll need to call LibGDX methods directly. You could, of course, use Clojure's [Java interop](http://clojure.org/java_interop) syntax on the `:object` contained within the entity. This is a bit ugly, though, and requires you to do all the importing and type hinting yourself. +At some point, you will need to do more than simple positioning and sizing. For that, you'll need to call libGDX methods directly. You could, of course, use Clojure's [Java interop](http://clojure.org/java_interop) syntax on the `:object` contained within the entity. This is a bit ugly, though, and requires you to do all the importing and type hinting yourself. In play-clj, many different calls, such as `texture`, are actually macros that allow you to call the underlying Java methods after the required argument(s). In this case, the underlying class is called [TextureRegion](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g2d/TextureRegion.html). Consider this: diff --git a/doclet/README.md b/doclet/README.md index f7bfa1e..b5d7b2b 100644 --- a/doclet/README.md +++ b/doclet/README.md @@ -2,7 +2,7 @@ This doclet generates the play-clj doc site. ## Directions -1. Download and extract the [LibGDX source code](https://github.com/libgdx/libgdx/releases) +1. Download and extract the [libGDX source code](https://github.com/libgdx/libgdx/releases) 2. Run `lein uberjar` in this directory 3. Run the following command in this directory: diff --git a/project.clj b/project.clj index c1bfc6b..6226eb3 100644 --- a/project.clj +++ b/project.clj @@ -1,5 +1,5 @@ (defproject play-clj "0.3.9-SNAPSHOT" - :description "A LibGDX wrapper for easy cross-platform game development" + :description "A libGDX wrapper for easy cross-platform game development" :url "https://github.com/oakes/play-clj" :license {:name "Public Domain" :url "http://unlicense.org/UNLICENSE"} diff --git a/src/play_clj/utils.clj b/src/play_clj/utils.clj index f3d2b72..a8d506a 100644 --- a/src/play_clj/utils.clj +++ b/src/play_clj/utils.clj @@ -90,17 +90,17 @@ (conj (vec (drop-last 2 args)) (str (name a1) divider (name a2))))) (defn gdx - "Returns a fully-qualified LibGDX symbol." + "Returns a fully-qualified libGDX symbol." [& args] (symbol (str main-package "." (join-keys args)))) (defn gdx-field - "Returns a fully-qualified LibGDX static method or field." + "Returns a fully-qualified libGDX static method or field." [& args] (apply gdx (add-divider args "/"))) (defn gdx-class - "Returns a fully-qualified LibGDX static class." + "Returns a fully-qualified libGDX static class." [& args] (apply gdx (add-divider args "$")))