/*
 * 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);
    }
}

@@ -571,17 +571,17 @@
 t(0, 0, 
-0
+1
 , false,
@@ -689,33 +689,33 @@
 geElement(0, 0, 
-1
+2
 , false, Resourc
@@ -815,33 +815,33 @@
 geElement(0, 0, 
-2
+3
 , false, Resourc

Fix training levels references