Removed SolidTrait#movable

This commit is contained in:
Anuken 2019-04-24 22:18:00 -04:00
parent eecaa850e0
commit 6a406f4d45
2 changed files with 0 additions and 9 deletions

View File

@ -25,10 +25,6 @@ public interface SolidTrait extends QuadTreeObject, MoveTrait, VelocityTrait, En
return getY() - lastPosition().y;
}
default boolean movable(){
return false;
}
default boolean collides(SolidTrait other){
return true;
}

View File

@ -55,11 +55,6 @@ public abstract class Unit extends DestructibleEntity implements SaveTrait, Targ
protected Team team = Team.blue;
protected float drownTime, hitTime;
@Override
public boolean movable(){
return !isDead();
}
@Override
public boolean collidesGrid(int x, int y){
return !isFlying();