game

module game

Dependencies

dep_module_android__gamenative_app_gluenative_app_glueassetsassetsgamegamegame->native_app_gluegame->assets

Imports

  • assets: Implementation of app::assets
  • native_app_glue: Wrapper of the Android native_app_glue framework to implement app.nit

Clients

Concerns

  • app: app.nit, a framework for portable applications
    • app_base: Base of the app.nit framework, defines App

from app::app_base

App

app::App

redef class App

App subclasses are cross-platform applications

This class is refined by platform modules and so App can be specialized directly in the user application code.

Introduces
  • paused: Is the application currently paused?
  • paused=: Is the application currently paused?
Redefines
  • init_window: Notification from the native_app glue framework, a new ANativeWindow is ready
  • term_window: Notification from the native_app glue framework, the existing window needs to be terminated
  • pause: Notification from the Android framework, your app has been paused
  • resume: Notification from the Android framework, native_activity has been resumed
  • save_state: Notification from the Android framework to generate a new saved state
  • lost_focus: Notification from the Android framework, native_activity has lost focus
  • gained_focus: Notification from the Android framework, native_activity has gained focus