fixed factory auto attack

This commit is contained in:
Ziver Koc 2007-05-07 15:43:38 +00:00
parent 9138ec8402
commit 1acec322f3
2 changed files with 8 additions and 1 deletions

View file

@ -55,6 +55,10 @@ public class Factory extends Building{
@Override @Override
protected SelectBox getSelection() { protected SelectBox getSelection() {
return selectionBox; return selectionBox;
} }
public boolean isTerrain(){
return true;
}
} }

View file

@ -19,10 +19,13 @@ public abstract class MapEntity extends Unit{
remove(); remove();
} }
} }
public void move(boolean play, int x, int y){ public void move(boolean play, int x, int y){
} }
public void attack(Vector2i target, boolean play) { public void attack(Vector2i target, boolean play) {
} }
public boolean isTerrain(){ public boolean isTerrain(){
return true; return true;
} }