Examples of World


Examples of ca.nengo.ui.lib.world.World

    if (wo instanceof NodeViewer)
      return (NodeViewer)wo;
   
    while (wo != null) {
      if (wo instanceof ElasticGround) {
        World world = wo.getWorld();
        if (world instanceof NodeViewer) {
          return (NodeViewer)world;
        } else {
          wo = wo.getParent();
        }
View Full Code Here

Examples of com.artemis.World

 
  private World world;

  @Before
  public void setup() {
    world = new World();
    world.setSystem(new EntitySystemA());
    world.setSystem(new EntitySystemB());
    world.initialize();
   
    Entity e1 = world.createEntity();
View Full Code Here

Examples of com.badlogic.gdx.physics.box2d.World

    this.mSecondsElapsedAccumulator += pSecondsElapsed;

    final int velocityIterations = this.mVelocityIterations;
    final int positionIterations = this.mPositionIterations;

    final World world = this.mWorld;
    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.epsilon5.client.world.World

            final Settings settings = (Settings) um.unmarshal(new File("description/settings.xml"));
            binder.bind(WindowSettings.class).toInstance(settings.getWindow());
            binder.bind(NetworkSettings.class).toInstance(settings.getNetwork());
            binder.bind(PlayerSettings.class).toInstance(settings.getPlayer());

            final World world = (World) um.unmarshal(new File("description/world.xml"));
            binder.bind(Sprites.class).toInstance(world.getSprites());

        } catch (JAXBException e) {
            binder.addError(e);
        }
    }
View Full Code Here

Examples of com.example.helloworld.db.model.World

        // TODO: Is parallelising this cheating?
        for (int i = 0; i < totalQueries; i++) {
            final long worldId = RANDOM.nextInt(10_000) + 1;

            final World world = worldDAO.findById(worldId).orNull();
            world.setRandomNumber(RANDOM.nextInt(10_000) + 1);
            worlds[i] = worldDAO.update(world);
        }

        return worlds;
    }
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.world.World

  public static void main(String[] args) {

    SlickEngine engine = SlickEngine.getInstance();
    engine.setTargetFrameRate(100);

    World world = new World(1000, 300, 1);
    world.setZoom(3000);

    world.add(new Ground(world, new Vector(300, 300), new Vector(800, 20)));

    engine.switchState(world);

    engine.start();
  }
View Full Code Here

Examples of com.palepail.TestGame.View.World

  public GameScreen (TestGame game, Level level){
    this.game = game;
 
      this.level = level;

    world = new World(game, this.level);
    render = new WorldRender(world);
   
  }
View Full Code Here

Examples of com.riley.angrymasons.View.World

  World world;
  WorldRenderer render;
 
  public GameScreen(AngryMasons game){
    this.game = game;
    world = new World(game);
    render = new WorldRenderer(world);
  }
View Full Code Here

Examples of com.sijobe.spc.wrapper.World

      }
   );

   @Override
   public void execute(CommandSender sender, List<?> params) throws CommandException {
      World world = super.getSenderAsPlayer(sender).getWorld();
      if (params.size() == 0) { // Gets the current time
      } else if (((String)params.get(0)).equalsIgnoreCase("day")) {
         setCurrentTime(world,TIME_DAY);
      } else if (((String)params.get(0)).equalsIgnoreCase("night")) {
         setCurrentTime(world,TIME_NIGHT);
View Full Code Here

Examples of com.sk89q.worldedit.world.World

     *
     * @return the delegate region
     */
    protected Region getRegion() {
        LocalSession session = Request.request().getSession();
        World world = Request.request().getWorld();

        if (session != null && world != null) {
            try {
                return session.getSelection(world);
            } catch (IncompleteRegionException ignored) {
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.