20 package net.sf.gridarta.gui.map.renderer;
22 import java.awt.Graphics;
23 import java.awt.Image;
24 import java.awt.image.ImageObserver;
27 import org.jetbrains.annotations.NotNull;
95 lightSquare = resourceIcons.getLightSquareIcon().getImage();
108 public void paint(@NotNull
final Graphics graphics,
final int gridFlags,
final boolean light,
final int x,
final int y, @NotNull
final ImageObserver imageObserver) {
110 graphics.drawImage(
selImg, x, y, imageObserver);
113 graphics.drawImage(
selImgNorth, x, y, imageObserver);
116 graphics.drawImage(
selImgEast, x, y, imageObserver);
119 graphics.drawImage(
selImgSouth, x, y, imageObserver);
122 graphics.drawImage(
selImgWest, x, y, imageObserver);
125 graphics.drawImage(
preSelImg, x, y, imageObserver);
128 graphics.drawImage(
cursorImg, x, y, imageObserver);
134 graphics.drawImage(
lightSquare, x, y, imageObserver);