Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### ENTITY (SUPER CLASS inside JAR)
- public class Entity {
- void update() {
- }
- void draw(Graphics bbg) {
- }
- }
- ### BALLENTITY (SUBCLASS)
- public class BallEntity extends Entity {
- @Override (Error: Method does not override method from its superclass)
- void update(){
- }
- @Override (Error: Method does not override method from its superclass)
- void draw(Graphics bbg){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement