Skip to content

Commit

Permalink
Added classes to handle Buses and NextRide API
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Beeler committed Apr 19, 2015
1 parent 1fbb11b commit f622273
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/java/uncc/parkability/com/parkabilityuncc/data/Bus.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package uncc.parkability.com.parkabilityuncc.data;

import com.google.android.gms.maps.model.LatLng;

/**
* A bus that has a route on campus. Can be updated via the BusAPI
*
* @author Austin Beeler
* @version 4/19/15
*/
public class Bus {
/** The route this bus will follow */
private BusRoute route;

/** The latitude and longitude of the bus */
private LatLng location;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package uncc.parkability.com.parkabilityuncc.data;

/**
* Interfaces with the NextRide API to present information on the buses around campus to the app
*
* @author Austin Beeler
* @version 4/19/2015
*/
public class BusAPI {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package uncc.parkability.com.parkabilityuncc.data;

/**
* An enum for the static information for each of the bus routes used on campus
*
* @author Austin Beeler
* @version 4/19/15
*/
public enum BusRoute {

}

0 comments on commit f622273

Please sign in to comment.