Examples of RaceGameState


Examples of com.aqpproject.worldmodel.game.state.RaceGameState

            carList.add(st.nextToken());
            pseudoList.add(st.nextToken());
            posList.add(Integer.parseInt(st.nextToken()));
        }

        Singleton.getWorldModel().setNextState(new RaceGameState("MULTI", playerName, Singleton.getOptionsController().getMap(), posList, pseudoList, nameList, carList));
        m_isGameLaunched = true;
    }
View Full Code Here

Examples of com.aqpproject.worldmodel.game.state.RaceGameState

    @Override
    public boolean isRaceStarted() {
        if (!(m_state instanceof RaceGameState)) {
            return false;
        } else {
            RaceGameState rs = (RaceGameState) m_state;
            return rs.isRaceStarted();
        }
    }
View Full Code Here

Examples of com.aqpproject.worldmodel.game.state.RaceGameState

                theOutput = "1;" + "8" + ";" + id_list.get(m_idPlayer);
                for (int i = 0; i < 8; i++) {
                    theOutput += ";" + id_list.get(i) + ";" + car_list.get(i) + ";" + pseudo_list.get(i) + ";" + pos_list.get(i);
                }
                Singleton.getWorldModel().setNextState(new RaceGameState("MULTI", "player1", Singleton.getOptionsController().getMap(), pos_list, pseudo_list, id_list, car_list));

                state = START;
            }
        } else if (state == START) {
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.