Added red rectangle when over another object
fancy pansy
This commit is contained in:
+12
-4
@@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user