Examples of GamerNewMatchEvent


Examples of org.ggp.base.player.gamer.event.GamerNewMatchEvent

        // Create the new match, and handle all of the associated logistics
        // in the gamer to indicate that we're starting a new match.
    Match match = new Match(matchId, -1, startClock, playClock, game);
    gamer.setMatch(match);
    gamer.setRoleName(roleName);
    gamer.notifyObservers(new GamerNewMatchEvent(match, roleName));

    // Finally, have the gamer begin metagaming.
    try {
      gamer.notifyObservers(new PlayerTimeEvent(gamer.getMatch().getStartClock() * 1000));
      gamer.metaGame(gamer.getMatch().getStartClock() * 1000 + receptionTime);
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.