Refactor EntityInstantAnimation
This commit is contained in:
@@ -35,7 +35,5 @@ public interface Entity extends Movable, Animated, Renderable, Updatable {
|
||||
|
||||
void setZIndex(int zIndex);
|
||||
|
||||
void performInstantAnimation(Direction targetFaceDirection);
|
||||
|
||||
void performInstantAnimation(Direction targetFaceDirection, Runnable onFinish);
|
||||
}
|
||||
|
||||
@@ -265,11 +265,6 @@ public abstract class EntityDelegate implements Entity {
|
||||
entity.setZIndex(zIndex);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void performInstantAnimation(Direction targetFaceDirection) {
|
||||
entity.performInstantAnimation(targetFaceDirection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void performInstantAnimation(Direction targetFaceDirection, Runnable onFinish) {
|
||||
entity.performInstantAnimation(targetFaceDirection, onFinish);
|
||||
|
||||
Reference in New Issue
Block a user