Examples of Planet


Examples of org.metawb.astro.Planet

        System.out.println("removePlanet");
        PlanetId pid = PlanetId.Sun;
        DefaultPlanetModel instance = pm;
        expectEv = PlanetModelEvent.EvType.REMOVE_PLANET;
        expectPid = pid;
        Planet p01 = instance.removePlanet(pid);
        assertEquals(pid, p01.getPlanetId());
        assertNull("Missing event", expectEv);

        // should not get an event
        expectEv = PlanetModelEvent.EvType.REMOVE_PLANET;
        expectPid = pid;
        Planet p02 = instance.removePlanet(pid);
        assertNull("Unexpected planet", p02);
        assertNotNull("Unexpected event", expectEv);
    }
View Full Code Here

Examples of org.metawb.astro.Planet

    @Test
    public void testGetPlanet() {
        System.out.println("getPlanet");
        PlanetId pid = PlanetId.Jupiter;
        DefaultPlanetModel instance = pm;
        Planet expResult = null;
        Planet result = instance.getPlanet(pid);
        assertEquals(pid, result.getPlanetId());
    }
View Full Code Here

Examples of org.openhab.binding.astro.internal.model.Planet

  /**
   * Iterates through all items and publishes the states.
   */
  public void publish(final PlanetName planetName) {
    final Planet planet = context.getPlanet(planetName);
    new ItemIterator().iterate(new ItemIteratorCallback() {

      @Override
      public void next(AstroBindingConfig bindingConfig, Item item) {
        if (planetName == bindingConfig.getPlanetName()) {
View Full Code Here

Examples of org.pollux3d.map.Planet

  }
 
  public void initialize(AppStateManager stateManager, Application app) {
    super.initialize(stateManager, app);
   
    test = new Planet(app.getAssetManager(), "Earth", "Textures/Planets/Earth/Earth.jpg", "Textures/Planets/Clouds/Cloud1.jpg", 60, new Vector3f(600, 0, 0), true, null);
    mapNode.attachChild(test);
   
    Planet test2 = new Planet(app.getAssetManager(), "Uriel", "Textures/Planets/Uriel/Uriel.jpg", null, 60, new Vector3f(0, 0, 600), false, null);
    mapNode.attachChild(test2);
   
    Planet test3 = new Planet(app.getAssetManager(), "Dominion", "Textures/Planets/Dominion/Dominion.jpg", null, 60, new Vector3f(-600, 0, 0), true, new Vector3f(0.4f, 0.6f, 0.7f));
    mapNode.attachChild(test3);
   
   
    /*
    Planet perun = new Planet("Perun", "perun2.jpg", 60);
View Full Code Here

Examples of org.pollux3d.shared.Planet

    sun.setName("Sun");
    sun.setSize(50);
    sun.setStartColor(new Vector4f(100,100,100,100));
    sun.setEndColor(new Vector4f(200,200,200,200));
   
    Planet merkury = new Planet();
    merkury.setId(1);
    merkury.setName("Merkury");
   
    Planet venus = new Planet();
    venus.setId(2);
    venus.setName("Venus");
   
    Planet earth = new Planet();
    earth.setId(3);
    earth.setName("Earth");
   
    Planet mars = new Planet();
    mars.setId(4);
    mars.setName("Mars");
   
    Planet jupiter = new Planet();
    jupiter.setId(5);
    jupiter.setName("Jupiter");
   
    Set<Planet> planets = new HashSet<Planet>();
    planets.add(merkury);
    planets.add(venus);
    planets.add(earth);
View Full Code Here

Examples of rtype.entity.Planet

 
  public Intro(Prototyp prototyp)
  {
    this.prototyp = prototyp;
   
    Planet planet= new Planet(IEntity.PLANET);
      planet.spawn(new Vector2f(320,0),new Vector2f(7f*-1,0),Prototyp.background);
   
    layer = new Layer();
   
    Text title = new Text (" . Prototyp .");
    Text commandLabel = new Text("- Commands -");
View Full Code Here

Examples of shared.Planet

    public void reset_result () {
      next_result = Planet.Mercury;
    };

    public Planet result () {
      Planet symbol = next_result;
      next_result = succ(symbol);
      return symbol;
    };
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.