Commit 81d09be8 authored by Hengwen Zhang's avatar Hengwen Zhang
Browse files

Add getter for task

parent 919a03da
......@@ -116,4 +116,9 @@ public class Vehicle extends SimulationObject implements Updatable, Destroyable,
public void setTask(Task task) {
this.task = task;
}
public Task getTask() {
return task;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment