Changeset 32322 in osm for applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge
- Timestamp:
- 2016-06-19T02:43:21+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/EngineSound.java
r23190 r32322 11 11 import java.util.TimerTask; 12 12 13 import javax.sound.sampled.AudioFormat; 13 14 import javax.sound.sampled.AudioSystem; 14 15 import javax.sound.sampled.DataLine; 15 16 import javax.sound.sampled.SourceDataLine; 16 import javax.sound.sampled.AudioFormat;17 17 18 class engine{19 public engine() {18 class EngineSound { 19 public EngineSound() { 20 20 rpm = 0.0; 21 21 } -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r31307 r32322 37 37 import org.openstreetmap.josm.gui.layer.GpxLayer; 38 38 import org.openstreetmap.josm.gui.layer.Layer; 39 import org.openstreetmap.josm.gui.layer.WMSLayer;40 39 41 40 public class GameWindow extends JFrame implements ActionListener { … … 77 76 car_gps.start(); 78 77 79 car_engine = new engine();78 car_engine = new EngineSound(); 80 79 car_engine.start(); 81 80 … … 86 85 } 87 86 88 protected enginecar_engine;87 protected EngineSound car_engine; 89 88 90 89 protected gps car_gps; -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r29854 r32322 8 8 import static org.openstreetmap.josm.tools.I18n.tr; 9 9 10 import org.openstreetmap.josm.gui.layer.Layer; 11 import org.openstreetmap.josm.gui.MapView; 12 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 13 import org.openstreetmap.josm.gui.MapFrame; 14 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.plugins.Plugin; 16 import org.openstreetmap.josm.plugins.PluginInformation; 17 import org.openstreetmap.josm.Main; 10 import java.awt.event.ActionEvent; 18 11 19 12 import javax.swing.JMenu; 20 13 import javax.swing.JMenuItem; 21 14 22 import java.awt.event.ActionEvent; 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.actions.JosmAction; 17 import org.openstreetmap.josm.gui.MapFrame; 18 import org.openstreetmap.josm.gui.MapView; 19 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 20 import org.openstreetmap.josm.gui.layer.Layer; 21 import org.openstreetmap.josm.plugins.Plugin; 22 import org.openstreetmap.josm.plugins.PluginInformation; 23 23 24 24 public class WMSRacer extends Plugin implements LayerChangeListener {
Note:
See TracChangeset
for help on using the changeset viewer.