示例#1
0
  /*
   * (non-Javadoc)
   *
   * @see com.example.touchmeextended.scene.AbstractScene#initScene()
   */
  @Override
  public void initScene() {
    this.setBackground(new Background(0, 0, 0));

    aeSplashSprite =
        new AELabel(
            0,
            0,
            ResourceManager.getInstance().getTextureByName(TEXTURE_BADGE_PATH),
            getMainActivity().getVertexBufferObjectManager(),
            this);
    aeSplashSprite.setPositionCenteredToCamera(getMainActivity().getEngine().getCamera());
  }
示例#2
0
 /*
  * (non-Javadoc)
  *
  * @see com.example.touchmeextended.scene.AbstractScene#loadTextures()
  */
 @Override
 public void loadResources() {
   ResourceManager.getInstance()
       .loadTextures(
           getMainActivity().getEngine(), getMainActivity(), getTexturePathList(), 164, 164);
 }