This commit is contained in:
unknown
2015-03-24 13:47:45 +01:00
parent ca90d98d9a
commit b9d42cd4eb
12 changed files with 308 additions and 110 deletions
+32
View File
@@ -0,0 +1,32 @@
package Applicatie;
import java.awt.geom.Point2D;
public class Action {
private Point2D position;
private int starttime;
private int duration;
public Action(Point2D position, int starttime, int duration){
this.position = position;
this.starttime = starttime;
this.duration = duration;
}
public Point2D getPosition(){
return position;
}
public int getStartTime(){
return starttime;
}
public int getStoptime(){
return (starttime + duration);
}
public int getDuration(){
return duration;
}
}