Examples of Player


Examples of com.bramosystems.oss.player.core.client.spi.Player

        }

        tl = logger.branch(TreeLogger.Type.INFO, "Searching for Player widgets");
        for (int i = 0; i < a.length; i++) {
            if (a[i].isAnnotationPresent(Player.class)) {
                Player p = a[i].getAnnotation(Player.class);
                String pName = p.providerFactory().getName();
                if (pMap.containsKey(pName)) {
                    tl.log(TreeLogger.Type.INFO, "Processing Player widget : " + a[i].getQualifiedSourceName());
                    _player _py = new _player(p.name(), p.minPluginVersion(), a[i].getQualifiedSourceName());
                    _py.interfaces = a[i].getImplementedInterfaces();
                    pMap.get(pName).players.add(_py);
                } else {
                    logger.log(TreeLogger.Type.ERROR, "WidgetFactory '" + pName + "' should be annotated with @PlayerProvider");
                }
View Full Code Here

Examples of com.coffeerpg.player.Player

    setSize(WINDOW_WIDTH, WINDOW_HEIGHT);
    offscreen = createImage(getSize().width, getSize().height);
    bufferGraphics = offscreen.getGraphics();

    /* init the player */
    p = new Player(360, 300);
    /* init the other GUI elements */
    npc = new NPC(690, 420);

    /* init the map */
    mainMap = new GameMap(this);
View Full Code Here

Examples of com.ewgenius.xonix.entities.Player

        return name;
    }

    public void init(GameContainer container, StateBasedGame game) throws SlickException {
        field = new Field();
        player = new Player();
    }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.shared.Player

       
        if(enabled){
          setEnabled(false);
          messageLabel.setText("checkiing...");
          final ASBOTXGame game=(ASBOTXGame)MEngine.getGeneralGame();
          Player player=game.getLocalPlayer().getPlayer();
          player.setID(sb.toString().trim());
          game.getPlayerService().createNewPlayer(player, new AsyncCallback<PlayerCreatedResponse>(){
   
            @Override
            public void onFailure(Throwable caught) {
              messageLabel.setText("an Error occured. Please contact the developer about this error");
View Full Code Here

Examples of com.googlecode.jumpnevolve.game.player.Player

    this.addPlayer(null, position, avaiableFigures, startFigure);
  }

  public void addPlayer(Menu parent, Vector position, String avaiableFigures,
      String startFigure) {
    this.player = new Player(parent, this, position, avaiableFigures,
        startFigure, true);
  }
View Full Code Here

Examples of com.gtdev.web.store.Player

            final float positionZ,
            final float rotationX,
            final float rotationY,
            final float rotationZ,
            final float rotationW) {
        final Player player = this.message.getPlayer();
        player.setNom(nom);
        player.setSante(sante);
        player.setSanteMAX(santeMAX);
        player.setNiveau(niveau);
        player.setExperience(experience);
        player.setPositionX(positionX);
        player.setPositionY(positionY);
        player.setPositionZ(positionZ);
        player.setRotationX(rotationX);
        player.setRotationY(rotationY);
        player.setRotationZ(rotationZ);
        player.setRotationW(rotationW);
        this.message.setPlayer(this.playerDAO.save(player));
        this.message.setMessage("Sauvegarde effectuée");
        return this.message;
    }
View Full Code Here

Examples of com.isteinvids.untrusted.level.Player

            g.setColor(new Color(entity.colour));
            g.drawString(Character.toString(entity.symbol), offx + (entity.position.x * blocksizex), offy + (entity.position.y * blocksizey));
        }

        if (levelManager.player != null) {
            Player player = levelManager.player;
            int px = levelManager.player.position.x, py = levelManager.player.position.y;
            g.setColor(Color.BLACK);
            g.drawString(Character.toString(player.symbol), offx + (px * blocksizex) + 1, offy + (py * blocksizey) + 1);
            g.setColor(new Color(player.colour));
            g.drawString(Character.toString(player.symbol), offx + (px * blocksizex), offy + (py * blocksizey));
 
View Full Code Here

Examples of com.jakehorsfield.platformer.player.Player

    private void initObjects() {
        System.out.println("Initialising objects");

        grid = new TileGrid();
        grid.load(new File("res/maps/map.xml"));
        player = new Player(new Vector2f(32, 32), 32, 32);
        menu = new Menu();

        State.setState(State.MENU);
    }
View Full Code Here

Examples of com.jcloisterzone.Player

    private ReceivedChatMessage createReceivedMessage(ChatEvent ev) {
        String nick = ev.getRemoteClient().getName();
        Color color = Color.DARK_GRAY;

        if (game.isStarted()) {
            Player selected = null, active = game.getActivePlayer();
            for (Player player : game.getAllPlayers()) {
                if (player.getSlot().getClientId().equals(ev.getRemoteClient().getClientId())) {
                    if (selected == null) {
                        selected = player;
                    } else {
                        if (selected.getSlot().getAiClassName() != null
                                && player.getSlot().getAiClassName() == null) {
                            // prefer real user for remote inactive client with
                            // more players
                            selected = player;
                        }
                    }
                    if (player.equals(active)) {
                        selected = player;
                        break;
                    }
                }
            }
            if (selected != null) {
                nick = selected.getNick();
                color = selected.getColors().getFontColor();
            }
        } else {
             PlayerSlot[] slots = ((CreateGamePhase) game.getPhase()).getPlayerSlots();
             for (PlayerSlot slot: slots) {
                 if (ev.getRemoteClient().getClientId().equals(slot.getClientId()) && !slot.getNickname().equals("")) {
View Full Code Here

Examples of com.mojang.ld22.entity.Player

    levels[2] = new Level(128, 128, -1, levels[3]);
    levels[1] = new Level(128, 128, -2, levels[2]);
    levels[0] = new Level(128, 128, -3, levels[1]);

    level = levels[currentLevel];
    player = new Player(this, input);
    player.findStartPos(level);

    level.add(player);

    for (int i = 0; i < 5; i++) {
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.