package org.zeroxlab.game;

import android.view.MotionEvent;
import android.os.SystemClock;

import com.stickycoding.rokon.Scene;
import com.stickycoding.rokon.Sprite;
import com.stickycoding.rokon.background.FixedBackground;
import com.stickycoding.rokon.TextureAtlas;
import com.stickycoding.rokon.Texture;
import com.stickycoding.rokon.Drawable;
import com.stickycoding.rokon.Rokon;

public class MenuScene extends Scene {

    private static float sSceneWidth = 480f;
    private static float sSceneHeight = 320f;
    private FixedBackground background;
    private Texture menuPuke;
    private Texture backTexture;
    private Sprite mPuke;

    public MenuScene() {
        super(1, 3);

        TextureAtlas atlas = new TextureAtlas();
        backTexture = new Texture("menu_background.png");
        menuPuke    = new Texture("puke.png");
        atlas.insert(backTexture);
        atlas.insert(menuPuke);
        atlas.complete();

        setBackground(background = new FixedBackground(backTexture));

        float bX = sSceneWidth  * 0.38f;
        float bY = sSceneHeight * 0.6f;;
        float bW = sSceneHeight * 0.64f;
        float bH = sSceneHeight * 0.2f;
        mPuke = new Sprite(bX, bY, bW, bH);
        mPuke.setTexture(menuPuke);
        add(0, mPuke);
    }

    @Override
    public void onGameLoop() {
    }

    @Override
    public void onTouchDown(Drawable object, float x, float y, MotionEvent event, int pointerCount, int pointerId) {
        if (object == mPuke) {
        }
    }

    @Override
    public void onPause() {
    }

    @Override
    public void onResume() {
    }

    @Override
    public void onReady() {
    }
}

Add MenuScene