Пример #1
0
  @Override
  public void initResources() {
    // TODO Auto-generated method stub
    RessourceManager.addImage("intro", "intro2.png");
    background = RessourceManager.getImage("intro");
    background = background.getScaledCopy(container.getWidth(), container.getHeight());

    // Init Music and Sounds
    if (Configuration.isMusicOn()) {
      GameMusic.initMainTheme();
      GameMusic.setMusicVolume(Configuration.getMusicVolume());
      GameMusic.loopMainTheme();
    }
  }