@@ -0,0 +1,1435 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage org.game.runner.base;%0A%0Aimport org.andengine.engine.Engine;%0Aimport org.andengine.engine.camera.Camera;%0Aimport org.andengine.entity.scene.Scene;%0Aimport org.andengine.opengl.vbo.VertexBufferObjectManager;%0Aimport org.game.runner.GameActivity;%0Aimport org.game.runner.manager.AudioManager;%0Aimport org.game.runner.manager.ResourcesManager;%0Aimport org.game.runner.manager.SceneManager.SceneType;%0A%0A/**%0A *%0A * @author Karl%0A */%0Apublic abstract class BaseScene extends Scene%7B%0A    protected Engine engine;%0A    protected GameActivity activity;%0A    protected ResourcesManager resourcesManager;%0A    protected AudioManager audioManager;%0A    protected VertexBufferObjectManager vbom;%0A    protected Camera camera;%0A    %0A    public BaseScene()%7B%0A        this.resourcesManager = ResourcesManager.getInstance();%0A        this.audioManager = AudioManager.getInstance();%0A        this.engine = resourcesManager.engine;%0A        this.activity = resourcesManager.activity;%0A        this.vbom = resourcesManager.vbom;%0A        this.camera = resourcesManager.camera;%0A        createScene();%0A    %7D%0A    %0A    public abstract void createScene();%0A    %0A    public abstract void onBackKeyPressed();%0A    public abstract void onPause();%0A    public abstract void onResume();%0A    %0A    public abstract SceneType getSceneType();%0A    %0A    public abstract void disposeScene();%0A%7D%0A

Add BaseScene