Package indexing

Examples of indexing.Player


        ol.dateCreate = new Date();
        ol.index();
    }

    private void loadPlayersMadrid(Team madrid) {
        Player casillas = new Player();
        casillas.name = "casillas";
        casillas.weight = 79;
        casillas.position.add(Player.Position.GOALKEEPER.toString());

        Player marcelo = new Player();
        marcelo.name = "marcelo";
        marcelo.weight = 73;
        marcelo.position.add(Player.Position.DEFENDER.toString());

        Player benzema = new Player();
        benzema.name = "benzema";
        benzema.weight = 73;
        benzema.position.add(Player.Position.FORWARD.toString());

        Player ronaldo = new Player();
        ronaldo.name = "ronaldo";
        ronaldo.weight = 73;
        ronaldo.position.add(Player.Position.FORWARD.toString());

        madrid.players.add(casillas);
View Full Code Here


        madrid.players.add(benzema);
        madrid.players.add(ronaldo);
    }

    private void loadPlayersBarcelone(Team barcelone) {
        Player valdes = new Player();
        valdes.name = "valdes";
        valdes.weight = 78;
        valdes.position.add(Player.Position.GOALKEEPER.toString());

        Player abidal = new Player();
        abidal.name = "abidal";
        abidal.weight = 75;
        abidal.position.add(Player.Position.DEFENDER.toString());

        Player alves = new Player();
        alves.name = "alves";
        alves.weight = 64;
        alves.position.add(Player.Position.DEFENDER.toString());

        Player puyol = new Player();
        puyol.name = "puyol";
        puyol.weight = 80;
        puyol.position.add(Player.Position.DEFENDER.toString());

        Player pique = new Player();
        pique.name = "pique";
        pique.weight = 75;
        pique.position.add(Player.Position.DEFENDER.toString());

        Player xavi = new Player();
        xavi.name = "xavi";
        xavi.weight = 68;
        xavi.position.add(Player.Position.MIDFIELDER.toString());

        Player inesta = new Player();
        inesta.name = "inesta";
        inesta.weight = 64;
        inesta.position.add(Player.Position.MIDFIELDER.toString());

        Player fabregas = new Player();
        fabregas.name = "fabregas";
        fabregas.weight = 69;

        Player messi = new Player();
        messi.name = "messi";
        messi.weight = 67;
        messi.position.add(Player.Position.FORWARD.toString());
        messi.position.add(Player.Position.MIDFIELDER.toString());

        Player vila = new Player();
        vila.name = "vila";
        vila.weight = 69;
        vila.position.add(Player.Position.FORWARD.toString());

        barcelone.players.add(valdes);
View Full Code Here

TOP

Related Classes of indexing.Player

Copyright © 2018 www.massapicom. 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.