/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.game.runner.scene.base.element;

import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.game.runner.manager.ResourcesManager;

/**
 *
 * @author Karl
 */
public class PageTutorial extends Page{
    public PageTutorial(final float pWidth, final float pHeight, int worldId, final VertexBufferObjectManager pVertexBufferObjectManager){
        super(pWidth, pHeight, worldId, 0, pVertexBufferObjectManager);
        this.addElement(new PageElement(0, 0, 0, false, ResourcesManager.getInstance().lvlJump, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 1, false, ResourcesManager.getInstance().lvlRoll, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 2, false, ResourcesManager.getInstance().lvlDoubleJump, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 4, false, ResourcesManager.getInstance().lvlPlatform, pVertexBufferObjectManager));
        this.setProgress(4);
    }
    
    @Override
    protected float getElementX(int index){
        return super.getElementX(index + 4);
    }
    @Override
    protected float getElementY(int index){
        return super.getElementY(index + 4);
    }
}

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.game.runner.scene.base.element;

import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.game.runner.manager.ResourcesManager;

/**
 *
 * @author Karl
 */
public class PageTutorial extends Page{
    public PageTutorial(final float pWidth, final float pHeight, int worldId, final VertexBufferObjectManager pVertexBufferObjectManager){
        super(pWidth, pHeight, worldId, 0, pVertexBufferObjectManager);
        this.addElement(new PageElement(0, 0, 1, false, ResourcesManager.getInstance().lvlJump, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 2, false, ResourcesManager.getInstance().lvlRoll, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 3, false, ResourcesManager.getInstance().lvlDoubleJump, pVertexBufferObjectManager));
        this.addElement(new PageElement(0, 0, 4, false, ResourcesManager.getInstance().lvlPlatform, pVertexBufferObjectManager));
        this.setProgress(4);
    }
    
    @Override
    protected float getElementX(int index){
        return super.getElementX(index + 4);
    }
    @Override
    protected float getElementY(int index){
        return super.getElementY(index + 4);
    }
}

Fix training levels references