|
|
@ -15,6 +15,11 @@ public class Erinoah extends PhysicsObject implements RenderedObject{ |
|
|
|
setY(y); |
|
|
|
setY(y); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Rectangle setCollisionBounds() { |
|
|
|
|
|
|
|
return new Rectangle(12,4,24,38); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void update(double updateMult) { |
|
|
|
public void update(double updateMult) { |
|
|
|
super.update(updateMult); |
|
|
|
super.update(updateMult); |
|
|
@ -31,18 +36,11 @@ public class Erinoah extends PhysicsObject implements RenderedObject{ |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean rightKeyHeld() { |
|
|
|
public boolean rightKeyHeld() { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean leftKeyHeld() { |
|
|
|
public boolean leftKeyHeld() { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Rectangle getCollisionBounds() { |
|
|
|
|
|
|
|
return new Rectangle(8,2,16,30); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|