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
+12 -4
View File
@@ -1,13 +1,21 @@
package Objects;
import java.awt.geom.Point2D;
import Applicatie.DrawObject;
public class Wall extends DrawObject
{
public class Wall extends DrawObject {
public Wall(Point2D position) {
public Wall(Point2D position)
{
super("images/wall.png", position);
}
}
@Override
public String getName()
{
return "Wall";
}
}