This commit is contained in:
Yorick
2015-04-08 16:46:02 +02:00
13 changed files with 144 additions and 50 deletions
+7 -1
View File
@@ -11,13 +11,15 @@ public class Action
private int starttime;
private int duration;
private DrawObject target;
private Waypoint waypoint;
public Action(Point2D position, int starttime, int duration, DrawObject tar)
public Action(Point2D position, int starttime, int duration, DrawObject tar, Waypoint waypoint)
{
this.position = position;
this.starttime = starttime;
this.duration = duration;
this.target = tar;
this.waypoint = waypoint;
}
public Point2D getPosition()
@@ -44,4 +46,8 @@ public class Action
{
return duration;
}
public Waypoint getWaypoint(){
return waypoint;
}
}