Examples of GameSettings


Examples of net.minecraft.src.GameSettings

  }

  public void run(int PlayerId) {
    Minecraft game = SpoutClient.getHandle();
    if (game != null) {
      GameSettings settings = game.gameSettings;
      if (view > -1 && view < 4) {
        settings.renderDistance = view;
      }
    }
    if (min > -1 && min < 4) {
View Full Code Here

Examples of net.minecraft.src.GameSettings

        }

        OpenGlHelper.initializeTextures();
        mcDataDir = getMinecraftDir();
        saveLoader = new AnvilSaveConverter(new File(mcDataDir, "saves"));
        gameSettings = new GameSettings(this, mcDataDir);
        texturePackList = new TexturePackList(this, mcDataDir);
        renderEngine = new RenderEngine(texturePackList, gameSettings);
        loadScreen();
        fontRenderer = new FontRenderer(gameSettings, "/font/default.png", renderEngine, false);
        standardGalacticFontRenderer = new FontRenderer(gameSettings, "/font/alternate.png", renderEngine, false);
View Full Code Here

Examples of org.gbcpainter.env.GameSettings

    } );
  }

  @Nullable
  private static PERPENDICULAR_DIRECTION getDirection( int key ) {
    final GameSettings singleton = GameSettings.getInstance();
    if ( singleton.getValue( GameSettings.INTEGER_SETTINGS_TYPE.KEY_DOWN ) == key ) {
      return PERPENDICULAR_DIRECTION.DOWN;
    }
    if ( singleton.getValue( GameSettings.INTEGER_SETTINGS_TYPE.KEY_UP ) == key ) {
      return PERPENDICULAR_DIRECTION.UP;
    }
    if ( singleton.getValue( GameSettings.INTEGER_SETTINGS_TYPE.KEY_LEFT ) == key ) {
      return PERPENDICULAR_DIRECTION.LEFT;
    }
    if ( singleton.getValue( GameSettings.INTEGER_SETTINGS_TYPE.KEY_RIGHT ) == key ) {
      return PERPENDICULAR_DIRECTION.RIGHT;
    }

    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.