Examples of Map


Examples of engine.Map

  @Override
  public void init() {
    setClearColor(new Vector3f(1.0f, 0.866f, 0.698f));
   
    map = new Map();
    terrain = new Terrain(Map.mapWidth*10, Map.mapHeight*10);
    terrain.setPosition(0, -0.137f,0);
   
    gameCameraMultipliers = new Vector2f((float) (-Math.PI/4.0), 3f);

View Full Code Here

Examples of fiftyone.mobile.detection.entities.Map

public class MapFactory extends BaseEntityFactory<Map> {

    @Override
    public Map create(Dataset dataSet, int index,
            BinaryReader reader) {
        return new Map(dataSet, index, reader);
    }
View Full Code Here

Examples of fr.norsys.mapper.console.mapping.Map

          ConsoleCst.SEARCH_MAPPER_TYPE, s.getFilter(), s
              .getSearchScope());
      Vector inputAttr = new Vector();
      Vector outputAttr = new Vector();
      for (Iterator it2 = maps.iterator(); it2.hasNext();) {
        Map m = (Map) it2.next();
        if (s.getInput().equals(m.getName())) {
          inputAttr = m.getAttributes();
        } else if (s.getOutput().equals(m.getName())) {
          outputAttr = m.getAttributes();
        }
      }
      fillInAttributes(r, inputAttr, regexps);
      fillOutAttributes(r, outputAttr, regexps);
View Full Code Here

Examples of fr.raversoft.yllisanSkies.engine.Map

        maps.add(i++, Resources.getMap("essai_01"));
        maps.add(i++, Resources.getMap("essai_02"));
    }
   
    public Map getMap(int map) throws SlickException {
        return new Map(maps.get(map));
    }
View Full Code Here

Examples of fr.tchocolate.qbe.world.Map

   
    inputManager = new InputManager(this);
   
    TextureManager.loadTextures();
    MapGenerator.genMap("map1.map");
    map1 = new Map("map1.map");
   
    player = new Player(new Vector3f(1, 6, 1), new Vector3f(0, 0, 0));
    player.setWorld(map1);
  }
View Full Code Here

Examples of game.Map

    members.add(new Traveler("Member Three"));
    members.add(new Traveler("Member Four"));
    wagon = new Wagon();
    wagon.setLeader(leader);
    wagon.setMembers(members);
    map = new Map();
    R0Store = new Store("testing 0", 500);
    R1Store = new Store("testing 1", 800);
    R2Store = new Store("testing 2", 1300);
    R3Store = new Store("testing 3", 1700);
  }
View Full Code Here

Examples of gwlpr.database.entities.Map

            StreamTerminatorView.send(clientHandle.get().getChannel(), ErrorCode.InternalServerError);
        }

        // retrieve socket address for that game server
        InetSocketAddress address = context.getManager().localAddressFor(mapShardHandle);
        Map map = model.getBean(mapShardHandle).getMap();

        // failcheck
        if (address == null || map == null) { return; }

        LOGGER.debug("The map shard accepted the client.");

        MapDispatchView.referToGameServer(
                clientHandle.get().getChannel(),
                address,
                event.getServerUid(),
                event.getClientUid(),
                map.getGameID());
    }
View Full Code Here

Examples of hu.sztaki.ilab.longneck.process.mapping.Map

        br2.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b1:1", 3, 3, 0));
        far.put(br2);
        br2.setId("pkg1:b2");
        br2.setVersion("1");
        Mapping mapping1 = new Mapping();
        Map map1 = new Map();
        map1.setTo("d");
        map1.setFrom("b");
        mapping1.addRule(map1);
        Map map11 = new Map();
        map11.setTo("c");
        map11.setFrom("f");
        mapping1.addRule(map11);
        br2.setMapping(mapping1);

        Set b1set2 = new Set();
        b1set2.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b1:1", 4, 4, 0));
        far.put(b1set2);
        b1set2.setApplyTo("a");
        b1set2.setValue("error");
       
        CloneRecord b1clone = new CloneRecord();
        b1clone.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b1:1", 5, 5, 0));
        far.put(b1clone);
        b1clone.setFieldName("b");
        b1clone.setFieldValue("b3");

        b1.setBlocks(Arrays.asList(new Block[]{b1set, br2, b1set2, b1clone}));

        // Block 2
        GenericBlock b2 = new GenericBlock();
        b2.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", null, 6, 6, 0));
        b2.setId("b2");
        b2.setVersion("1");

        Set b2set = new Set();
        b2set.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b2:1", 7, 7, 0));
        far.put(b2set);
        b2set.setApplyTo("e");
        b2set.setValue("b2");

        Copy b2copy = new Copy();
        b2copy.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b2:1", 8, 8, 0));
        far.put(b2copy);
        b2copy.setApplyTo("d");
        b2copy.setFrom("e");

        Set b2set2 = new Set();
        b2set2.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b2:1", 9, 9, 0));
        far.put(b2set2);
        b2set2.setApplyTo("b");
        b2set2.setValue("error");

        Set b2set3 = new Set();
        b2set3.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b2:1", 10, 10, 0));
        far.put(b2set2);
        b2set3.setApplyTo("a");
        b2set3.setValue("error");

        Set b2set4 = new Set();
        b2set4.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b2:1", 11, 11, 0));
        far.put(b2set4);
        b2set4.setApplyTo("c");
        b2set4.setValue("ok");
       
        CloneRecord b2clone = new CloneRecord();
        b2clone.setSourceInfo(new SourceInfo("file:///pkg1.blocks.xml", "b1:1", 12, 12, 0));
        far.put(b2clone);

        b2.setBlocks(Arrays.asList(new Block[]{b2set, b2copy, b2set2, b2set3, b2set4, b2clone}));
        br2.setReferredBlock(b2);

        BlockReference br1 = new BlockReference();
        br1.setSourceInfo(new SourceInfo("file:///dummy.xml", null, 2, 2, 0));
        far.put(br1);
        br1.setId("pkg1:b1");
        br1.setVersion("1");
        Mapping mapping0 = new Mapping();
        Map map0 = new Map();
        map0.setTo("b");
        map0.setFrom("a");
        mapping0.addRule(map0);
        Map map01 = new Map();
        map01.setTo("f");
        map01.setFrom("c");
        mapping0.addRule(map01);
        br1.setMapping(mapping0);

        br1.setReferredBlock(b1);
        seq.setBlocks(Arrays.asList(new Block[]{br1}));
View Full Code Here

Examples of jade.util.leap.Map

      }
    }
  }
 
  private Map loadSubscriptionsCache() {
    Map m = new HashMap();
    Enumeration e = kBase.getSubscriptions();
    while (e.hasMoreElements()) {
      SubscriptionResponder.Subscription sub = (SubscriptionResponder.Subscription) e.nextElement();
     
      try {
        AbsIRE absIota = (AbsIRE) cm.extractAbsContent(sub.getMessage());
        AbsPredicate absResult = absIota.getProposition();
        AbsAgentAction absAction = (AbsAgentAction) absResult.getAbsObject(BasicOntology.RESULT_ACTION);
        AbsAgentAction absSearch = (AbsAgentAction) absAction.getAbsObject(BasicOntology.ACTION_ACTION);
        Search search = (Search) FIPAManagementOntology.getInstance().toObject(absSearch);   
        DFAgentDescription template = (DFAgentDescription) search.getDescription();
       
        m.put(sub.getMessage().getConversationId(), new SubscriptionInfo(sub, template, absIota));
      }
      catch (Exception ex) {
        // Should never happen since, this has already been decoded correctly once
        ex.printStackTrace();
      }
View Full Code Here

Examples of java.util.Map

            Arrays.asList(new Object[] { "a" })//$NON-NLS-1$
            Arrays.asList(new Object[] { "b" }) }; //$NON-NLS-1$

        FakeDataManager dataMgr = new FakeDataManager();
        dataMgr.setThrowBlocked(true);
        Map valueMap = new HashMap();
        valueMap.put("1", "a"); //$NON-NLS-1$ //$NON-NLS-2$
        valueMap.put("2", "b"); //$NON-NLS-1$ //$NON-NLS-2$
        dataMgr.defineCodeTable("pm1.g1", "e1", "e2", valueMap); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        
        helpTestProject(projectElements, data, elements, expected, dataMgr);       
    }   
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.