added Food, edited the icons and changed the sprites
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user