Back to project page ZorbsCity.
The source code is released under:
GNU General Public License
If you think the Android project ZorbsCity listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jonathan.geoffroy.zorbscity.model.cityObjects.people; /*from ww w. j a v a 2 s.c o m*/ import jonathan.geoffroy.zorbscity.model.cityObjects.buildings.Building; import jonathan.geoffroy.zorbscity.model.cityObjects.resources.Resource; public class DeliveryMan extends Person { /** * The Building where the delivery man is coming */ private Building from; /** * The Building where the delivery man is going */ private Building to; /** * The resource that the delivery man take in the Building _to_ */ private Resource resource; public DeliveryMan(Building from, Resource resource) { this.from = from; this.resource = resource; } /** * Auto-generated serial (using eclipse) */ private static final long serialVersionUID = -1453489076858625212L; public Building getFrom() { return from; } public Resource getResource() { return resource; } public Building getTo() { return to; } public void setTo(Building to) { this.to = to; } }