Package civquest.swing.fieldview

Examples of civquest.swing.fieldview.FieldView


   *                  (remember: one field my have multiple UACs)
   * @param buffer any buffer
   */
  public void paintField(PaintInfo paintInfo, Buffer buffer, Graphics2D graphics) throws InvalidImageException {
    Coordinate fieldPos = paintInfo.getFieldPos();
    FieldView fieldView = quadMap.getFieldView(buffer.getGameData(),
                           fieldPos);
//     Graphics2D graphics = buffer.getGraphics();
    Properties properties = quadMap.getProperties();
    Coordinate imageCoord = properties.getAbsImagePaintCoord(paintInfo.getCoord()).
      sub(buffer.getPosition());
    fieldView.paint(imageCoord, graphics);
  }
View Full Code Here

TOP

Related Classes of civquest.swing.fieldview.FieldView

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.