Commit 84149f11 authored by charlie.hamer's avatar charlie.hamer 💬

Update AnimatedObject.java

parent ef45944d
...@@ -2,6 +2,7 @@ public class AnimatedObject extends GameObject { ...@@ -2,6 +2,7 @@ public class AnimatedObject extends GameObject {
// Used for any object in the game that is animated and/or moves // Used for any object in the game that is animated and/or moves
String spriteFile; // String containing the fuill path to a strite file String spriteFile; // String containing the fuill path to a strite file
int spriteState; // Integer reprenting which sprite image is currently displayed int spriteState; // Integer reprenting which sprite image is currently displayed
boolean alive = true;
public AnimatedObject(int x, int y) { public AnimatedObject(int x, int y) {
super(x, y); super(x, y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment