Examples of World


Examples of com.techempower.spring.domain.World

    List<World> worlds = new ArrayList<World>(queryCount);
    Random random = ThreadLocalRandom.current();

    for (int i = 0; i < queryCount; i++) {
      World world = this.worldRepository.findOne(random.nextInt(DB_ROWS) + 1);
      world.setRandomNumber(random.nextInt(DB_ROWS) + 1);
      this.worldRepository.save(world);
      worlds.add(world);
    }

    return worlds;
View Full Code Here

Examples of com.threed.jpct.World

    victoryMessage = "VICTORY";
    victoryDim = font.getStringBounds(victoryMessage);
  }

  private void onMainMenuInit() {
    mainMenuWorld = new World();
    mainMenuWorld.setAmbientLight(255, 255, 255);

    mainMenu = new MainMenu();
    mainMenu.initialize(mainMenuWorld, buffer);
  }
View Full Code Here

Examples of de.lv.jvoxgl.world.World

  public static World world;
 
  public static void main(String[] args){
    Log.setLogLevel(Log.LEVEL_DEBUG);
   
    world = new World(16, 256, 16);
    JVoxGL voxgl = new JVoxGL(world, 1024,768);
    JVoxGLTest.createChunk(world);
   
    ShaderProgram shader = new ShaderProgram(2);
    try {
View Full Code Here

Examples of de.zelosfan.timedstrategy.world.World

    public Game(int mapID) {
        redTeam = new Team(Color.RED, true);
        blueTeam = new Team(Color.BLUE, false);

        world = new World(Main.mapObjectMap.get("map" + mapID));
        Main.gameStateManager.instanceHashMap.put("MapDisplay", new MapDisplay());
        Main.gameStateManager.instanceHashMap.put("UserInterface", new UserInterface());

        Main.gameStateManager.setCurrentGameState(new IngamePlanning(Main.gameStateManager, true));
    }
View Full Code Here

Examples of dwlab.shapes.layers.World

  public TileMap clouds;

  @Override
  public void init() {
    Camera.current.setZoom( 32.0 );
    World world = World.fromFile( "res/parallax.lw" );
    Layer layer = (Layer) ( (Layer) world.findShape( Layer.class ) ).load();
    ground = (TileMap) layer.findShape( "Ground" );
    grid = (TileMap) layer.findShape( "Grid" );
    clouds = (TileMap) layer.findShape( "Clouds" );
  }
View Full Code Here

Examples of edu.cmu.cs.stage3.alice.core.World

  public final ElementArrayProperty requiredActualParameters = new ElementArrayProperty( this, "requiredActualParameters", null, Variable[].class );
  public final ElementArrayProperty keywordActualParameters = new ElementArrayProperty( this, "keywordActualParameters", null, Variable[].class );
    public Object getValue() {
        UserDefinedQuestion userDefinedQuestionValue = userDefinedQuestion.getUserDefinedQuestionValue();
        Behavior currentBehavior = null;
        World world = getWorld();
        if( world != null ) {
            Sandbox sandbox = world.getCurrentSandbox();
            if( sandbox!=null ) {
                currentBehavior = sandbox.getCurrentBehavior();
            } else {
                //System.err.println( "current sandbox is null" );
            }
View Full Code Here

Examples of environment.World

        thisThread.start();
        tm.startTime();
    }

    protected void createWorld(LocalWorldParams params) {
        World world = new World(params.getIdWorld());
        world.setParams(params);
        try {
            world.initializeEnviroinment();
        } catch (IOException ex) {
            Logger.getLogger(God.class.getName()).log(Level.SEVERE, null, ex);
        }
        worlds.add(world);
        if (UserGuiParams.GUI) {
            controller.addWorld(world);
            world.addObserver(controller);
        }
        world.startThread();
    }
View Full Code Here

Examples of fr.irit.halterego.ggp_agent.rlcpp.World

        for(int i = 0; i < states.size(); ++i)
        {
            states_ids.put(states.get(i),i);
        }
       
        World w = new World();
        w.setNumberOfActions(moves.size());
        w.setNumberOfStates(states.size());
        try
        {
            algo = algoClass.getConstructor(World.class).newInstance(w);
        }
        catch (Exception e)
View Full Code Here

Examples of fr.umlv.escapeir.physic.World

      default:
        break;
    }
    this.difficulty = difficulty;
    this.background = new Background("stars.png", planet + ".png");
    this.world = new World(new Vec2(0, 0));
    this.player = new PlayerShip(playerLife);
    this.ships = 10;
    this.currentShips = new ArrayList<>();
    this.menu = new Menu();
  }
View Full Code Here

Examples of game.level.World

    if (selectedEntry >= worlds.length) {
      selectedEntry = worlds.length - 1;
    }
    if (event.key.id == input.action.id
        && event.type == InputEventType.PRESSED) {
      game.setWorld(new World(game, worldFiles[selectedEntry]));
      close();
    }
  }
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.