doc/commands: fix commands json tests after update
[nit.git] / contrib / action_nitro / src / action_nitro.nit
index bd0e6ff..5ddeea6 100644 (file)
@@ -18,12 +18,9 @@ module action_nitro is
        app_version(1, 0, git_revision)
 
        android_manifest_activity """android:screenOrientation="sensorLandscape""""
-       android_api_target 10
 end
 
 import gamnit::depth
-import gamnit::keys
-import gamnit::limit_fps
 
 import game
 
@@ -635,17 +632,6 @@ redef class World
        end
 end
 
-redef class Int
-       # Pad a number with `0`s on the left side to reach `size` digits
-       private fun pad(size: Int): String
-       do
-               var s = to_s
-               var d = size - s.length
-               if d > 0 then s = "0"*d + s
-               return s
-       end
-end
-
 # Manager to display numbers in sprite
 class CounterSprites