Example #1
0
 /**
  * Determine the graphical variant from a coordinate and set the needed frame on this.
  *
  * @param locX the first part of the coordinate
  * @param locY the second part of the coordinate
  */
 private void setVariant(int locX, int locY) {
   if (variants) {
     setFrame(MapVariance.getItemFrameVariance(locX, locY, getTemplate().getFrames()));
   }
 }