gamnit: make `SpriteSet` public so clients can use its services
[nit.git] / lib / gamnit / gamnit.nit
index 41bfb37..fccf2ae 100644 (file)
@@ -77,12 +77,9 @@ redef class App
        # The instances passed as `event` may be freed (or overwritten),
        # right after this method returns. They should not be preserved.
        fun accept_event(event: InputEvent): Bool do return false
-end
 
-redef class Sys
-       redef fun run
-       do
-               if "NIT_TESTING".environ == "true" then exit 0
-               super
-       end
+       # The window has been resized by the user or system
+       #
+       # The framework handles resizing the viewport automatically.
+       fun on_resize(display: GamnitDisplay) do end
 end