Package de.tubs.pandemieinc
Class City
- java.lang.Object
-
- de.tubs.pandemieinc.City
-
public class City extends Object
The city class to represent the city information from the given "JSON round".
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getConnectionsForJson()
Return the connections to the other cities as String array for the city serialization.
-
-
-
Constructor Detail
-
City
public City(String name)
-
City
public City()
-
-
Method Detail
-
getConnectionsForJson
public String[] getConnectionsForJson()
Return the connections to the other cities as String array for the city serialization.- Returns:
- The connections of the given City as String array.
-
-