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 Toilet extends DrawObject
{
public class Toilet extends DrawObject {
public Toilet(Point2D position) {
public Toilet(Point2D position)
{
super("images/wc.png", position);
}
@Override
public String getName()
{
return "Toilet";
}
}