Example #1
0
 @Override
 public void mouseEntered(MouseEvent evt) {
   if (isStateLockedImpl() || hasStateChildrenImpl()) {
     return;
   }
   checkColors();
   Color c = isStatePlayableImpl() ? playableColor : unplayableColor;
   AWTGridHandle h = getHandle();
   h.setBackground(c);
   h.setForeground(c);
   h.setImage(getImageOfPlayerImpl(getGameManager().getTurnManager().getCurrentPlayer()));
 }