hoi
This commit is contained in:
xrgman
2015-04-08 14:03:58 +02:00
parent 98af73b15e
commit 7c28dd3a16
29 changed files with 824 additions and 174 deletions
+10 -1
View File
@@ -2,24 +2,33 @@ package Applicatie;
import java.awt.geom.Point2D;
import Objects.DrawObject;
public class Action
{
private Point2D position;
private int starttime;
private int duration;
private DrawObject target;
public Action(Point2D position, int starttime, int duration)
public Action(Point2D position, int starttime, int duration, DrawObject tar)
{
this.position = position;
this.starttime = starttime;
this.duration = duration;
this.target = tar;
}
public Point2D getPosition()
{
return position;
}
public DrawObject getTargetObject()
{
return target;
}
public int getStartTime()
{