Loading app/src/main/java/com/example/a8_bitinvader/Sprite.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -43,4 +43,11 @@ public class Sprite { } } return false; return false; } } public void destroy() { //this should call the animation, and delete the object } void updateLocation() {} //other classes will override this function } } Loading
app/src/main/java/com/example/a8_bitinvader/Sprite.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -43,4 +43,11 @@ public class Sprite { } } return false; return false; } } public void destroy() { //this should call the animation, and delete the object } void updateLocation() {} //other classes will override this function } }