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
+17
View File
@@ -0,0 +1,17 @@
package Objects;
import java.awt.geom.Point2D;
import Applicatie.DrawObject;
public class Food extends DrawObject {
public Food(Point2D position) {
super("images/food.png", position);
}
public String getName() {
return "Food";
}
}