added Food, edited the icons and changed the sprites

This commit is contained in:
aareschluchtje
2015-03-17 12:42:36 +01:00
parent ddf5e4e908
commit 140d5803ef
10 changed files with 24 additions and 6 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";
}
}
+1 -1
View File
@@ -7,7 +7,7 @@ import Applicatie.DrawObject;
public class Stage extends DrawObject {
public Stage(Point2D position) {
super("images/stage3.png", position);
super("images/stage4.png", position);
}
@Override