This commit is contained in:
unknown
2015-04-07 14:58:47 +02:00
parent 0535d98427
commit c29ccec789
25 changed files with 1946 additions and 873 deletions
+19 -13
View File
@@ -2,31 +2,37 @@ package Applicatie;
import java.awt.geom.Point2D;
public class Action {
public class Action
{
private Point2D position;
private int starttime;
private int duration;
public Action(Point2D position, int starttime, int duration){
public Action(Point2D position, int starttime, int duration)
{
this.position = position;
this.starttime = starttime;
this.duration = duration;
}
public Point2D getPosition(){
public Point2D getPosition()
{
return position;
}
public int getStartTime(){
public int getStartTime()
{
return starttime;
}
public int getStoptime(){
public int getStoptime()
{
return (starttime + duration);
}
public int getDuration(){
public int getDuration()
{
return duration;
}
}
}