Пример #1
0
 private void createBackground() {
   attachChild(
       new Sprite(
           ContextConstants.SCREEN_WIDTH / 2,
           ContextConstants.SCREEN_HEIGHT / 2,
           ResourcesManager.getInstance().getRecordBackgroundTextureRegion(),
           vertexBufferObjectManager));
 }
Пример #2
0
 @Override
 public void disposeScene() {
   ResourcesManager.getInstance().unloadRecordsTextures();
 }