|
|
@ -1,12 +1,13 @@ |
|
|
|
package sig.objects; |
|
|
|
package sig.objects; |
|
|
|
|
|
|
|
|
|
|
|
import sig.RabiClone; |
|
|
|
import sig.RabiClone; |
|
|
|
|
|
|
|
import sig.engine.Rectangle; |
|
|
|
import sig.engine.Sprite; |
|
|
|
import sig.engine.Sprite; |
|
|
|
import sig.engine.Transform; |
|
|
|
import sig.engine.Transform; |
|
|
|
import sig.engine.objects.AnimatedObject; |
|
|
|
import sig.objects.actor.PhysicsObject; |
|
|
|
import sig.objects.actor.RenderedObject; |
|
|
|
import sig.objects.actor.RenderedObject; |
|
|
|
|
|
|
|
|
|
|
|
public class Erinoah extends AnimatedObject implements RenderedObject{ |
|
|
|
public class Erinoah extends PhysicsObject implements RenderedObject{ |
|
|
|
|
|
|
|
|
|
|
|
public Erinoah(double x, double y) { |
|
|
|
public Erinoah(double x, double y) { |
|
|
|
super(Sprite.ERINOAH,6.5,RabiClone.p); |
|
|
|
super(Sprite.ERINOAH,6.5,RabiClone.p); |
|
|
@ -27,5 +28,29 @@ public class Erinoah extends AnimatedObject implements RenderedObject{ |
|
|
|
public Transform getSpriteTransform() { |
|
|
|
public Transform getSpriteTransform() { |
|
|
|
return Transform.NONE; |
|
|
|
return Transform.NONE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean rightKeyHeld() { |
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean leftKeyHeld() { |
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Rectangle getCollisionBounds() { |
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void setCollisionBounds(Rectangle bounds) { |
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|