Examples of spawn()


Examples of ch.idsia.mario.engine.level.SpriteTemplate.spawn()

                    {
                        if (st.lastVisibleTick != tick - 1)
                        {
                            if (st.sprite == null || !sprites.contains(st.sprite))
                            {
                                st.spawn(this, x, y, dir);
                            }
                        }

                        st.lastVisibleTick = tick;
                    }
View Full Code Here

Examples of co.paralleluniverse.actors.Actor.spawn()

        final ChildEntry child = addChild1(spec);

        ActorRef<?> actor = null;
        if(spec.builder instanceof Actor) {
            final Actor a = ((Actor) spec.builder);
            actor = a.isStarted() ? a.ref() : a.spawn();
        }
        if (actor == null)
            actor = start(child);
        else
            start(child, actor);
View Full Code Here

Examples of com.l2jfrozen.gameserver.managers.DimensionalRiftManager.DimensionalRiftRoom.spawn()

    spawnTimerTask = new TimerTask()
    {
      @Override
      public void run()
      {
        riftRoom.spawn();
      }
    };

    spawnTimer.schedule(spawnTimerTask, Config.RIFT_SPAWN_DELAY);
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2BoatInstance.spawn()

        {
          continue;
        }

        L2BoatInstance boat = parseLine(line);
        boat.spawn();
        _staticItems.put(boat.getObjectId(), boat);

        if(Config.DEBUG)
        {
          System.out.println("Boat ID : " + boat.getObjectId());
View Full Code Here

Examples of com.werken.blissed.ProcessEngine.spawn()

            if ( this.async != null )
            {
                async = this.async.booleanValue();
            }

            spawned = engine.spawn( getProcess(),
                                    async );
        }
        else
        {
            engine  = context.getProcessEngine();
View Full Code Here

Examples of com.werken.blissed.ProcessEngine.spawn()

            if ( this.async != null )
            {
                throw new JellyException( "async attribute only via for non-nested process" );
            }

            spawned = engine.spawn( getProcess(),
                                    context );
        }

        if ( getVar() != null )
        {
View Full Code Here

Examples of de.kumpelblase2.remoteentities.api.RemoteEntity.spawn()

    created.setPushable(this.m_pushable);
    if(this.m_speed != -1)
      created.setSpeed(this.m_speed);

    if(this.m_location != null)
      created.spawn(this.m_location);

    if(this.m_maxHealth != -1 && created.getBukkitEntity() != null)
      created.getBukkitEntity().setMaxHealth(this.m_maxHealth);

    if(this.m_pathfindingRange != -1)
View Full Code Here

Examples of juju.reattore.util.Spawner.spawn()

                log.info("Shutting down using " + shutdownCmd);

                Spawner shut = new Spawner();
                shut.setCommand(shutdownCmd);
               
                shut.spawn();
                shut.waitDone();

                Thread.sleep(2000);
            }
        }
View Full Code Here

Examples of juju.reattore.util.Spawner.spawn()

        throws Exception {

        Spawner sp = new Spawner();
        sp.setCommand("ls");

        sp.spawn();
       
        sp.waitDone();

        assertEquals(0, sp.exitValue());
View Full Code Here

Examples of juju.reattore.util.Spawner.spawn()

        throws Exception {

        Spawner sp = new Spawner();
        sp.setCommand("sleep 60");

        sp.spawn();
       
        sp.destroy();

        assertEquals(true, sp.isDone());
    }
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.