Changeset 29854 in osm for applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
- Timestamp:
- 2013-08-21T03:47:16+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r26299 r29854 62 62 63 63 this.ground = ground; 64 ground_view = new fake_map_view(Main.map.mapView, 0.0000001);64 ground_view = new FakeMapView(Main.map.mapView, 0.0000001); 65 65 66 66 /* Retrieve start position */ … … 474 474 } 475 475 476 protected class sprite_pos implements Comparable { 476 protected class sprite_pos implements Comparable<sprite_pos> { 477 477 double dist; 478 478 … … 483 483 } 484 484 485 public int compareTo(Object x) { 486 sprite_pos other = (sprite_pos) x; 487 return (int) ((other.dist - this.dist) * 1000000.0); 485 public int compareTo(sprite_pos x) { 486 return (int) ((x.dist - this.dist) * 1000000.0); 488 487 } 489 488 } … … 700 699 } 701 700 } 702 protected fake_map_view ground_view;701 protected FakeMapView ground_view; 703 702 }
Note:
See TracChangeset
for help on using the changeset viewer.
