20,21d19 < import java.awt.event.ActionEvent; < import javax.swing.AbstractAction; 39c37,38 < protected int fAnchorX, fAnchorY; --- > private int myAnchorX; > private int myAnchorY; 57a57 > checkUsable(); 62c62 < * 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,66c65,66 < * Since tools will be disabled unless it is useable, there will always < * be an active view when this is called. based on isUsable() --- > * Since tools will be disabled unless they are useable, there will always > * be an active view when this method is called. based on isUsable() 70a71 > view().checkDamage(); 120,121c121,122 < fAnchorX = x; < fAnchorY = y; --- > setAnchorX(x); > setAnchorY(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; > } >