import java.awt.Color; public class Gun extends MobileSimObject { // OVERVIEW: A Gun is a MobileSimObject derivative that is blue (it is controlled directly by // MouseMotionHandler, so there is no execute turn. public Gun () { ; } public Color getColor() { return Color.blue; } public void executeTurn() throws RuntimeException //EFFECTS: does nothing { ; } }