@@ -0,0 +1,1373 @@
+package com.whoshuu.artbox;%0A%0Aimport org.jbox2d.dynamics.World;%0A%0Aimport android.content.Context;%0A%0Aimport com.whoshuu.artbox.artemis.GameWorld;%0A%0Apublic class GameContext %7B%0A%0A    private GameContext(Engine engine, World physics, GameWorld game, Context android) %7B%0A        this.engine = engine;%0A        this.physics = physics;%0A        this.game = game;%0A        setAndroid(android);%0A    %7D%0A%0A    public static void createGameContext(Engine eng, World phys, GameWorld game, Context android) %7B%0A        if (context == null) %7B%0A            context = new GameContext(eng, phys, game, android);%0A        %7D%0A    %7D%0A%0A    public static GameContext get() %7B%0A        return context;%0A    %7D%0A%0A    public static void destroyContext() %7B%0A        context.engine = null;%0A        context.physics = null;%0A        context.game = null;%0A        context.android = null;%0A        context = null;%0A    %7D%0A%0A    public Engine getEngine() %7B%0A        return this.engine;%0A    %7D%0A%0A    public World getPhysics() %7B%0A        return this.physics;%0A    %7D%0A%0A    public GameWorld getGame() %7B%0A        return this.game;%0A    %7D%0A%0A    public Context getAndroid() %7B%0A        return this.android;%0A    %7D%0A%0A    public void setAndroid(Context android) %7B%0A        this.android = android;%0A    %7D%0A%0A    private static GameContext context;%0A%0A    private Engine engine;%0A    private World physics;%0A    private GameWorld game;%0A    private Context android;%0A%7D%0A

Add singleton context object