Saven werkt van guus

This commit is contained in:
Yorick
2015-04-07 13:12:02 +02:00
parent 5a9c3f259a
commit ea7ecfcd56
17 changed files with 1163 additions and 98 deletions
+38
View File
@@ -0,0 +1,38 @@
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;
}
}