20,21d19 < import java.awt.event.ActionEvent; < import javax.swing.AbstractAction; 38a37,38 > private int myAnchorX; > private int myAnchorY; 39,39d36 < protected int fAnchorX, fAnchorY; 57a57,57 > checkUsable(); 62,62c62,62 < * Activates the tool for use on the given view. This method is called --- > * Activates the tool for the given view. This method is called 65,65c65,65 < * Since tools will be disabled unless it is useable, there will always --- > * Since tools will be disabled unless they are useable, there will always 66,66c66,66 < * be an active view when this is called. based on isUsable() --- > * be an active view when this method is called. based on isUsable() 70a71,71 > view().checkDamage(); 119a121,122 > setAnchorX(x); > setAnchorY(y); 120,121d120 < fAnchorX = x; < fAnchorY = y; 207a209,224 > protected void setAnchorX(int newAnchorX) { > myAnchorX = newAnchorX; > } > > protected int getAnchorX() { > return myAnchorX; > } > > protected void setAnchorY(int newAnchorY) { > myAnchorY = newAnchorY; > } > > protected int getAnchorY() { > return myAnchorY; > } >