Examples of update()


Examples of ru.vagrant_ai.questionmarkgame.obj.add.Sniper.update()

        money_array.remove(i);
    }
    for (int i = 0; i < sniper_array.size(); ++i) //sniper update
    {
      Sniper element = sniper_array.get(i);
      element.update();
    }
    if (knife)
      knifeUpdate();
    if (GameplayState.monster_controller.getState() == WS.BREAK)
    {
View Full Code Here

Examples of ru.vagrant_ai.questionmarkgame.obj.mob.Monster.update()

    for (int i = 0; i < monster_array.size(); ++i)
    {
      Monster monster = monster_array.get(i);
      if (!GameplayState.gamePaused() && !GameplayState.gameStateChanging())
      {
        monster.update();
        if (monster.state == MS.NULL)
        {
          monster_array.remove(i);
          i--;     
        }
View Full Code Here

Examples of ru.vagrant_ai.questionmarkgame.obj.proj.Projectile.update()

    }

    for (int i = 0; i < bullet_array.size(); ++i)
    {
      Projectile bullet = bullet_array.get(i);
      bullet.update();
      if (!bullet.checkActive())
      {
        bullet_array.remove(i);
        i--;     
      }
View Full Code Here

Examples of ru.yandex.qatools.allure.utils.AnnotationManager.update()

                if (description.getValue() != null) {
                    event.setDescription(description);
                }
                AnnotationManager am = new AnnotationManager(method.getConstructorOrMethod().getMethod().getAnnotations());
                am.setDefaults(method.getInstance().getClass().getAnnotations());
                am.update(event);
                getLifecycle().fire(event);
                getLifecycle().fire(new TestCasePendingEvent());
                fireFinishTest();
            }
        }
View Full Code Here

Examples of se.gu.fire.data.SubmissionManager.update()

        assertEquals(sub, sub2);

        // Test setSubmissionStatus()
        sub.setSubmissionStatus(SubmissionStatus.Rejected);
        em.getTransaction().begin();
        sm.update(sub);
        em.getTransaction().commit();

        assertEquals(SubmissionStatus.Rejected, sm.getAssignmentStatus(assign, group));

        // Ensure comment exits
View Full Code Here

Examples of se.gu.fire.data.UserManager.update()

        // Test update
        String name = user1.getFname();
        user2.setFname("Another");
        em.getTransaction().begin();
        userMan.update(user2);
        em.getTransaction().commit();
       
        user2 = userMan.read(user1.getId());
        assertFalse(name.equals(user2.getFname()));
View Full Code Here

Examples of servlet.utilities.Paris_S.update()

      if(station_uic == null || station_uic.isEmpty()) {
        for(List<TheoricalTrainData> l : trains.values()) {
          //data.addAll(l);
          for(TheoricalTrainData ttd : l) {
            Paris_S p_s = new Paris_S();
            p_s.update(selection, ttd);
            json.add(p_s);
          }
        }
      }
      else {
View Full Code Here

Examples of siena.base.test.model.AggregateChildManualModel.update()

    AggregateChildManualModel eveAfter = AggregateChildManualModel.all().aggregated(god, "children").filter("id", 1L).get();   
    assertEquals(eve, eveAfter);
   
    eveAfter.name+="_UPD";
    eveAfter.update();
    AggregateChildManualModel eveAfter2 = AggregateChildManualModel.all().aggregated(god, "children").filter("id", 1L).get();
    assertEquals(eveAfter, eveAfter2);
   
    eveAfter2.name+="_UPD2";
    eveAfter2.save();
View Full Code Here

Examples of siena.base.test.model.AggregateChildModel.update()

      Model.getByKey(AggregateParentModel.class, god.id);
    assertNotNull(god1);
    assertEquals(adam1, god1.child.get());
   
    adam1.name = "adam1_UPD";
    adam1.update();
   
    assertEquals(adam1, god1.child.forceSync().get());
   
    adam1.name = "adam1_UPD2";
    adam1.save();
View Full Code Here

Examples of siena.base.test.model.AggregateParentModel.update()

    adam2.save();
   
    assertEquals(adam1, god1.child.forceSync().get());
   
    god1.child.set(adam2);
    god1.update();

    AggregateParentModel god2 =
      Model.getByKey(AggregateParentModel.class, god1.id);
    assertNotNull(god2);
    assertEquals(adam2, god2.child.get());
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.