lib/gamnit: rename simple_2d to flat
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 14 Jan 2016 20:35:36 +0000 (15:35 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 17 Jan 2016 16:41:26 +0000 (11:41 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/asteronits/org.nitlanguage.asteronits.txt
contrib/asteronits/src/asteronits.nit
lib/gamnit/REAME.md
lib/gamnit/flat.nit [moved from lib/gamnit/simple_2d.nit with 99% similarity]

index 9f47066..de34ab1 100644 (file)
@@ -6,5 +6,5 @@ Issue Tracker:https://github.com/nitlang/nit/issues
 
 Summary:Destroy asteroids in this simple 2D sample game made with gamnit
 Description:
-Sample portable gamnit game implemented with the simple_2d API.
+Sample portable gamnit game implemented with the flat API.
 .
index 2eb5e3a..a2aed95 100644 (file)
@@ -22,7 +22,7 @@ module asteronits is
        android_api_target 15
 end
 
-import gamnit::simple_2d
+import gamnit::flat
 
 import game_logic
 import spritesheet
index 9d60cc0..7802ab2 100644 (file)
@@ -8,7 +8,7 @@ It is modular, different parts of the framework are available through different
   It defines the basic methods to implement in order to obtain a working game: `App::frame_core` to update the screen
   and `App::accept_event` to receive user inputs.
 
-* `simple_2d` provides an easy to use API for 2D games based on sprites.
+* `flat` provides an easy to use API for 2D games based on sprites.
   Clients of this API must redefine `App::update` to update the game logic and fill `App::sprites` with objects to draw.
 
 * `cameras` provides cameras classes to produce MVP matrices which can be fed to shaders.
similarity index 99%
rename from lib/gamnit/simple_2d.nit
rename to lib/gamnit/flat.nit
index 338f736..4c0b103 100644 (file)
@@ -30,7 +30,7 @@
 #   It is used to position the sprites in `App::ui_sprites`.
 #
 # See the sample game at `contrib/asteronits/`.
-module simple_2d
+module flat
 
 import glesv2