Simplify EntityInstantAnimation
This commit is contained in:
@@ -38,6 +38,4 @@ public interface Entity extends Movable, Animated, Renderable, Updatable {
|
||||
void setZIndex(int zIndex);
|
||||
|
||||
CompletableFuture<Void> performInstantAnimation();
|
||||
|
||||
CompletableFuture<Void> performInstantAnimation(Direction targetFaceDirection);
|
||||
}
|
||||
|
||||
@@ -272,11 +272,6 @@ public abstract class EntityDelegate implements Entity {
|
||||
return entity.performInstantAnimation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompletableFuture<Void> performInstantAnimation(Direction targetFaceDirection) {
|
||||
return entity.performInstantAnimation(targetFaceDirection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean move(Movement movement) {
|
||||
return entity.move(movement);
|
||||
|
||||
Reference in New Issue
Block a user