Package cero.games

Examples of cero.games.RoundEvent


  private void notifyRoundStart() {
    Collection<RoundListener> roundListeners = new SorterRulesFirst<RoundListener>()
        .sort(this.roundListeners);
    for (RoundListener list : roundListeners) {
      // using a new event in case the last listener modified it
      RoundEvent event = new RoundEvent(game, this);
      list.roundStart(event);
    }
  }
View Full Code Here


  private void notifyRoundEnd() {
    Collection<RoundListener> roundListeners = new SorterRulesFirst<RoundListener>()
        .sort(this.roundListeners);
    for (RoundListener list : roundListeners) {
      // using a new event in case the last listener modified it
      RoundEvent event = new RoundEvent(game, this);
      list.roundEnd(event);
    }
  }
View Full Code Here

TOP

Related Classes of cero.games.RoundEvent

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.