woo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user