Examples of Level


Examples of ast.level.Level

    initGL();
    getDelta();
    lastFPS = getTime();   
   
    AssetStore.load();
    level = new Level();
    level.init(this);
    StateManager.init(level, this);
   
    MouseCursor c = new MouseCursor();
    try {
View Full Code Here

Examples of ca.vanzeben.game.level.Level

                }
            }
        }
        screen = new Screen(WIDTH, HEIGHT, new SpriteSheet("/sprite_sheet.png"));
        input = new InputHandler(this);
        level = new Level("/levels/water_test_level.png");
        player = new PlayerMP(level, 100, 100, input, JOptionPane.showInputDialog(this, "Please enter a username"),
                null, -1);
        level.addEntity(player);
        if (!isApplet) {
            Packet00Login loginPacket = new Packet00Login(player.getUsername(), player.x, player.y);
View Full Code Here

Examples of ch.epfl.lbd.database.olap.Level

 
  public static final long serialVersionUID = 0x98344342;
 
  public SpaceDimension(RelationalTable table){
    super("Space",null);
    Level environmentLvl = new MondrianLevel("Environment",table,"environment_name");
    LevelProperty envNameProp = new MondrianLevelProperty"Environment Name",
                                LevelProperty.TYPE_STRING,
                                table,
                                "environment_name");
    environmentLvl.addProperty(envNameProp);
    LevelProperty envGeomProp = new MondrianLevelProperty"geom",
                                LevelProperty.TYPE_GEOMETRY,
                                table,
                                "environment_geom");
    environmentLvl.addProperty(envGeomProp);
   
    Level regionLvl = new MondrianLevel("Region",table,"region_name");
    LevelProperty regNameProp = new MondrianLevelProperty"Region Name",
                                LevelProperty.TYPE_STRING,
                                table,
                                "region_name");
    regionLvl.addProperty(regNameProp);
    LevelProperty regGeomProp = new MondrianLevelProperty"geom",
                                LevelProperty.TYPE_GEOMETRY,
                                table,
                                "region_geom");
    regionLvl.addProperty(regGeomProp);
   
    Level areaLvl = new MondrianLevel("Area",table,"area_name");
    LevelProperty areaNameProp = new MondrianLevelProperty"Area Name",
                                LevelProperty.TYPE_STRING,
                                table,
                                "area_name");
    areaLvl.addProperty(areaNameProp);
    LevelProperty areaGeomProp = new MondrianLevelProperty"geom",
                                LevelProperty.TYPE_GEOMETRY,
                                table,
                                "area_geom");
    areaLvl.addProperty(areaGeomProp);
   
    Hierarchy spaceHier = new MondrianHierarchy("spaceHier",table);
   
    spaceHier.addLevel(environmentLvl);
    spaceHier.addLevel(regionLvl);
View Full Code Here

Examples of ch.idsia.mario.engine.level.Level

        for (int i = 0; i < 2; i++)
        {
            int scrollSpeed = 4 >> i;
            int w = ((level.width * 16) - 320) / scrollSpeed + 320;
            int h = ((level.height * 16) - 240) / scrollSpeed + 240;
            Level bgLevel = BgLevelGenerator.createLevel(w / 32 + 1, h / 32 + 1, i == 0, levelType);
            bgLayer[i] = new BgRenderer(bgLevel, graphicsConfiguration, 320, 240, scrollSpeed);
        }
        mario = new Mario(this);
        sprites.add(mario);
        startTime = 1;
View Full Code Here

Examples of ch.qos.logback.classic.Level

            // verify log level
            if (level == null) {
                throw new ConfigurationException(LogConfigManager.LOG_LEVEL, "Value required");
            }
            // TODO: support numeric levels !
            final Level logLevel = Level.toLevel(level);
            if (logLevel == null) {
                throw new ConfigurationException(LogConfigManager.LOG_LEVEL, "Unsupported value: " + level);
            }

            // verify pattern
View Full Code Here

Examples of ch.rakudave.jnetmap.util.logging.Logger.Level

    final JComboBox levelSelector = new JComboBox(Level.values());
      levelSelector.setSelectedItem(appender.getLevel());
      levelSelector.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
          Level logLevel = (Level) levelSelector.getSelectedItem();
          appender.setLevel(logLevel);
          Settings.put("plugin.logpanel.loglevel", logLevel.toString());
        }
      });
    p.add(levelSelector, BorderLayout.NORTH);
    p.add(new JScrollPane(area), BorderLayout.CENTER);
    return p;
View Full Code Here

Examples of com.alibaba.dubbo.common.logger.Level

        } else {
            size = 0;
            content = "";
            modified = "Not exist";
        }
        Level level = LoggerFactory.getLevel();
        context.put("name", file == null ? "" : file.getAbsoluteFile());
        context.put("size", String.valueOf(size));
        context.put("level", level == null ? "" : level);
        context.put("modified", modified);
        context.put("content", content);
View Full Code Here

Examples of com.alibaba.dubbo.common.status.Status.Level

    public static Status getStatusSummary(Map<String, Status> statusList) {
        return getSummaryStatus(statusList);
    }
   
    public static Status getSummaryStatus(Map<String, Status> statuses) {
        Level level = Level.OK;
        StringBuilder msg = new StringBuilder();
        for (Map.Entry<String, Status> entry : statuses.entrySet()) {
            String key = entry.getKey();
            Status status = entry.getValue();
            Level l = status.getLevel();
            if (Level.ERROR.equals(l)) {
                level = Level.ERROR;
                if (msg.length() > 0) {
                    msg.append(",");
                }
View Full Code Here

Examples of com.asakusafw.vocabulary.operator.Logging.Level

                String.class,
                new ExpressionBuilder(f, impl)
                    .method(desc.getDeclaration().getName(), arguments)
                    .toExpression());

        Level level = context.getOperatorDescription().getAttribute(Logging.Level.class);
        switch (level == null ? Level.getDefault() : level) {
        case WARN:
            context.add(new TypeBuilder(f, context.convert(Report.class))
                .method("warn", result)
                .toStatement());
View Full Code Here

Examples of com.danidemi.jlubricant.slf4j.Level

  private ArrayList<MessageToLogLevelPolicy> logs;
 
  @Override
  public Level forMessage(String logmessage) {
    for (MessageToLogLevelPolicy messageToLogLevelPolicy : logs) {
      Level forMessage = messageToLogLevelPolicy.forMessage(logmessage);
      if(forMessage != null) return forMessage;
    }
    return null;
  }
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.