examples: update dino to use app.nit
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 2 Jun 2014 18:46:45 +0000 (14:46 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 5 Jun 2014 15:13:05 +0000 (11:13 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

examples/mnit_dino/src/dino.nit
examples/mnit_dino/src/dino_linux.nit

index a7bd6de..23314f8 100644 (file)
@@ -38,7 +38,7 @@ redef class App
        var imgs : nullable ImageSet = null
        var splash : nullable SplashScreen = null
 
-       redef fun init_window
+       redef fun window_created
        do
                super
 
index ca01a22..757cc0b 100644 (file)
@@ -27,5 +27,3 @@ end
 redef class SplashScreen
        redef fun splash_play_path do return "images/splash_play.png"
 end
-
-super