Changeset 33342 in osm for applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
- Timestamp:
- 2017-05-27T22:56:30+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r32914 r33342 1 1 /* 2 2 * GPLv2 or 3, Copyright (c) 2010 Andrzej Zaborowski 3 *4 * This is the main class for the game plugin.5 3 */ 6 4 package wmsturbochallenge; … … 26 24 import org.openstreetmap.josm.plugins.PluginInformation; 27 25 26 /** 27 * This is the main class for the game plugin. 28 */ 28 29 public class WMSRacer extends Plugin implements LayerChangeListener, ActiveLayerChangeListener { 29 30 public WMSRacer(PluginInformation info) { … … 86 87 * horizontal scanlines (lines equidistant from 87 88 * camera eye)) */ 88 for (Layer l : frame.mapView.getLayerManager().getLayers()) 89 for (Layer l : frame.mapView.getLayerManager().getLayers()) { 89 90 if (l.isBackgroundLayer()) { 90 91 groundLayer = l; … … 92 93 return; 93 94 } 95 } 94 96 95 97 groundLayer = null;
Note:
See TracChangeset
for help on using the changeset viewer.
