Line | |
---|
1 | /************************************************************************************ |
---|
2 | * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University |
---|
3 | * All rights reserved. |
---|
4 | * Refer to LICENSE for terms and conditions of use. |
---|
5 | ***********************************************************************************/ |
---|
6 | package vnsim.vehicular.scenarios; |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | import java.util.ArrayList; |
---|
11 | |
---|
12 | import vnsim.map.object.*; |
---|
13 | import vnsim.vehicular.simulator.Location; |
---|
14 | import vnsim.vehicular.simulator.RouteSegment; |
---|
15 | |
---|
16 | |
---|
17 | public class ScenarioMap implements java.io.Serializable { |
---|
18 | |
---|
19 | /** <code>serialVersionUID</code> */ |
---|
20 | private static final long serialVersionUID = -5883719321862303634L; |
---|
21 | public String name; |
---|
22 | public String imageFileName; |
---|
23 | public String mapFileName; |
---|
24 | public ArrayList<Location> entries; |
---|
25 | public ArrayList<Location> exits; |
---|
26 | public ArrayList<Route> allRoutes; |
---|
27 | public ArrayList<String> driverTypes; |
---|
28 | |
---|
29 | public ScenarioMap(){ |
---|
30 | } |
---|
31 | |
---|
32 | public ScenarioMap(Scenario s){ |
---|
33 | this.name=s.name; |
---|
34 | this.imageFileName=new String(); |
---|
35 | this.allRoutes=s.allRoutes; |
---|
36 | this.mapFileName=s.mapFileName; |
---|
37 | this.entries=s.entries; |
---|
38 | this.exits=s.exits; |
---|
39 | this.driverTypes=s.driverTypes; |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.