Added red rectangle when over another object

fancy pansy
This commit is contained in:
xrgman
2015-03-17 16:59:43 +01:00
parent f1e6abae76
commit 34bc4526fc
16 changed files with 668 additions and 353 deletions
+11 -3
View File
@@ -1,13 +1,21 @@
package Objects;
import java.awt.geom.Point2D;
import Applicatie.DrawObject;
public class Path extends DrawObject
{
public class Path extends DrawObject {
public Path(Point2D position) {
public Path(Point2D position)
{
super("images/path.jpg", position);
}
@Override
public String getName()
{
return "Path";
}
}