Commit c7f5859f authored by Jiawei  Xiang's avatar Jiawei Xiang
Browse files

General function for player and Enemy

parent c524a53d
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -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