MCPcopy Create free account
hub / github.com/JRickey/BattleShip / initialize

Method initialize

android/app/src/main/java/org/libsdl/app/SDL.java:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21 // This function should be called each time the activity is started
22 public static void initialize() {
23 setContext(null);
24
25 SDLActivity.initialize();
26 SDLAudioManager.initialize();
27 SDLControllerManager.initialize();
28 }
29
30 // This function stores the current activity (SDL or not)
31 public static void setContext(Context context) {

Callers 1

onCreateMethod · 0.95

Calls 4

setContextMethod · 0.95
initializeMethod · 0.95
initializeMethod · 0.95
initializeMethod · 0.95

Tested by

no test coverage detected