package activities;

import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;
import org.anddev.andengine.opengl.texture.source.AssetTextureSource;
import org.anddev.andengine.opengl.texture.source.ITextureSource;
import org.anddev.andengine.ui.activity.BaseSplashActivity;

import android.app.Activity;

public class Splash extends BaseSplashActivity {
	
	
	private static final int SPLASH_DURATION = 3;
	

	@Override
	protected Class<? extends Activity> getFollowUpActivity() {
		// TODO Auto-generated method stub
		return Menu.class;
	}

	@Override
	protected ScreenOrientation getScreenOrientation() {
		// TODO Auto-generated method stub
		return ScreenOrientation.LANDSCAPE;
	}

	@Override
	protected float getSplashDuration() {
		// TODO Auto-generated method stub
		return SPLASH_DURATION;
	}

	@Override
	protected ITextureSource onGetSplashTextureSource() {
		// TODO Auto-generated method stub
		return new AssetTextureSource(this, "gfx/backgrounds/scholarsheeplogo.png");
	}

}
