Package civquest.swing

Examples of civquest.swing.Session


  private abstract class BorderPainter {

    public void paintBorders(Coordinate coord, Graphics g) {

      Session session = quadMap.getSession();
      MapData mapData = Game.getMapData();
     
      FieldReader fieldReader = gameData.getFieldReader();
      if (fieldReader.isFieldOwnerAvailable(position)) {
        Long owner = fieldReader.getFieldOwner(position);

        if (owner == null) {
          return;
        }

        g.setColor(session.getNationColor(owner));

        Coordinate[] neighborCoords = position.getDirectNeighborCoords();

        for (Coordinate neighborPos : neighborCoords) {
          Coordinate adjustedNeighborPos
View Full Code Here

TOP

Related Classes of civquest.swing.Session

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.