Package RoFParser.AType

Examples of RoFParser.AType.PlayerPlane


                String vType = goi.getType();
               
                pit = players.iterator();
                while (pit.hasNext())
                {
                    PlayerPlane player = pit.next();
                    if (player.getPlayerID() == goi.getID())
                    {
                        //current goi crew IS a player!
                        profileID = player.getIds();
                        isAI = 0;
                        vType = hmpp.get(profileID).getName();
                       
                    }
                }
View Full Code Here


       
        ArrayList<PlayerPlane> planes = mission.getPlayerPlanes();
        Iterator<PlayerPlane> it = planes.iterator();
        while (it.hasNext())
        {
            PlayerPlane plane = it.next();
            DBProfile tmp = new DBProfile(plane.getIds(), plane.getLogin(), plane.getName());
           
            //Internally iterate existing profiles
            boolean result1 = false;
            Iterator<DBProfile> it2 = profiles.iterator();
            while (it2.hasNext())
View Full Code Here

       
        ArrayList<PlayerPlane> spawnedPlanes = mission.getPlayerPlanes();
        Iterator<PlayerPlane> spawnit = spawnedPlanes.iterator();
        ArrayList<PlayerMissionEnd> despawnedPlanes = mission.getPlayerMissionEnds();
        Iterator<PlayerMissionEnd> despawnit;
        PlayerPlane spawn;
        PlayerMissionEnd despawn;
        int i = 1;
        while (spawnit.hasNext())
        {
            spawn = spawnit.next();
           
            //Internally iterate existing despawns
            despawnit = despawnedPlanes.iterator();
       
            gotspawned:
            while (despawnit.hasNext())
            {
                despawn = despawnit.next();
               
                if (spawn.getPlaneID() == despawn.getPlaneID() &&
                    spawn.getPlayerID() == despawn.getPlayerID())
                {
                    long tmp1 = mission.getMissionID() + Math.round(spawn.getTick() / 1000d);
                    long tmp2 = mission.getMissionID() + Math.round(despawn.getTick() / 1000d);
                    missSorties.add(new DBSortie(i, mission.getMissionID(), tmp1, tmp2));
                    i++;
                    break gotspawned;
                }
View Full Code Here

TOP

Related Classes of RoFParser.AType.PlayerPlane

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.