Examples of step()


Examples of Hexel.things.types.Thing.step()

      this.thingsToAdd.clear();
      Iterator<Thing> iter = this.things.iterator();
      LogData.set("numberZombies", getNumberOfThingsOfType(Zombie.class));
      while (iter.hasNext()) {
        Thing thing = iter.next();
        thing.step();

        if (thing instanceof Volumetric){
          if (this.thingTools.isOutOfRangeOfCamera((Volumetric)thing)){
            thingsToRemove.add(thing);
            continue;
View Full Code Here

Examples of Model.Game.step()

    Game game = Game.getInstance();
    GUI gui = GUI.getInstance();

    /* Boucle de jeu */
    while (!game.isFinished()) {
      game.step();
      gui.update();
    }
    JFrame fin;
    fin = new JFrame();
    fin.setResizable(false);
View Full Code Here

Examples of aima.core.agent.Environment.step()

    // a = new ReflexVacuumAgent();
    // a = new SimpleReflexVacuumAgent();
    // a = new TableDrivenVacuumAgent();
   
    env.addAgent(a);
    env.step(16);
    env.notifyViews("Performance=" + env.getPerformanceMeasure(a));
  }
}
View Full Code Here

Examples of aima.core.environment.map.MapEnvironment.step()

    if (env.getAgents().isEmpty())
      initAgents(logger);
    try {
      while (!env.isDone() && !frame.simulationPaused()) {
        Thread.sleep(sleepTime);
        env.step();
      }
    } catch (InterruptedException e) {}
    logger.log("</simulation-protocol>\n");
  }
 
View Full Code Here

Examples of aima.core.environment.vacuum.VacuumEnvironment.step()

    // a = new ReflexVacuumAgent();
    // a = new SimpleReflexVacuumAgent();
    // a = new TableDrivenVacuumAgent();
   
    env.addAgent(a);
    env.step(16);
    env.notifyViews("Performance=" + env.getPerformanceMeasure(a));
  }
}
View Full Code Here

Examples of appeng.me.pathfinding.PathSegment.step()

    {
      Iterator<PathSegment> i = active.iterator();
      while (i.hasNext())
      {
        PathSegment pat = i.next();
        if ( pat.step() )
        {
          pat.isDead = true;
          i.remove();
        }
      }
View Full Code Here

Examples of avrora.sim.Simulator.step()

            for ( int cntr = 0; cntr < numThreads; cntr++ ) {
                int left = --cycles[cntr];
                if ( left <= 0 ) {
                    Simulator sim = threads[cntr];
                    try {
                        cycles[cntr] = sim.step();
                    } catch ( Throwable t) {
                        reportExit(sim, t);
                        removeSimulator(threads[cntr]);
                    }
                }
View Full Code Here

Examples of com.almworks.sqlite4java.SQLiteStatement.step()

    "WHERE " +
      "projectId = " + projectId;

    SQLiteStatement st = Db.getInstance().query(sql);

    while(st.step())
    {
      exclude.add(st.columnString(0));
    }

    return exclude;
View Full Code Here

Examples of com.badlogic.gdx.physics.box2d.World.step()

    final float stepLength = this.mTimeStep;
   
    int stepsAllowed = this.mMaximumStepsPerUpdate;
   
    while(this.mSecondsElapsedAccumulator >= stepLength && stepsAllowed > 0) {
      world.step(stepLength, velocityIterations, positionIterations);
      this.mSecondsElapsedAccumulator -= stepLength;
      stepsAllowed--;
    }
   
    this.mPhysicsConnectorManager.onUpdate(pSecondsElapsed);
View Full Code Here

Examples of com.cburch.logisim.circuit.Simulator.step()

          proj.repaintCanvas();
        }
      } else if (src == reset) {
        if (sim != null) sim.requestReset();
      } else if (src == step || src == LogisimMenuBar.SIMULATE_STEP) {
        if (sim != null) sim.step();
      } else if (src == tickOnce || src == LogisimMenuBar.TICK_STEP) {
        if (sim != null) sim.tick();
      } else if (src == ticksEnabled || src == LogisimMenuBar.TICK_ENABLE) {
        if (sim != null) sim.setIsTicking(!sim.isTicking());
      } else if (src == log) {
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.