Package civquest.map.resource

Examples of civquest.map.resource.ResourceGraphException


 

 

  private void drawResourceProduction(Text text, Coordinate pos) {
    throw new ResourceGraphException("Re-implement this!");
    /*
     if (gameData.getFieldReader().isResourceProductionAvailable(pos)) {
      ResourceSet resources = gameData.getFieldReader().getResourceProduction(pos);
      if (resources.isEmpty()) {
        text.writeAfterNewLine("No resource production");
View Full Code Here


    return manager.isCompleteVisible(position);
  }

  public ResourceSet getResourceProduction(Coordinate position) {
    if (isResourceProductionAvailable(position)) {
      throw new ResourceGraphException("Re-implement this!");
//       return Game.getMapData().getResourceProduction(position);
    } else {
      throw new InformationNotAvailableException("BlackWhiteFieldReader",
                             "resource production");
    }
View Full Code Here

TOP

Related Classes of civquest.map.resource.ResourceGraphException

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.