Examples of IWVWMap


Examples of de.justi.yagw2api.wrapper.IWVWMap

          } else {
            // TODO build non objective map content for locations
          }
        }
      }
      final IWVWMap map = new WVWMap(this.type.get(), this.contentMappedByLocation.values());
      map.getScores().update(this.redScore.or(0), this.greenScore.or(0), this.blueScore.or(0));

      if (this.match.isPresent()) {
        map.connectWithMatch(this.match.get());
      }

      for (IWVWObjective objective : map.getObjectives()) {
        objective.connectWithMap(map);
      }

      return map;
    }
View Full Code Here

Examples of de.justi.yagw2api.wrapper.IWVWMap

    checkNotNull(event);
    checkArgument(event.getMap().getMatch().isPresent());
    if (LOGGER.isDebugEnabled()) {
      LOGGER.debug(this + " will now inform it's registered listeners about " + event);
    }
    final IWVWMap map = event.getMap();
    final IWVWMatch match = map.getMatch().get();

    final Collection<IWVWMapListener> notifiedListeners = new ArrayList<IWVWMapListener>();

    for (IWVWMapListener listener : this.allMapsOfAllMatchesListeners) {
      this.notifyWVWMapListener(listener, event);
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.