This commit is contained in:
Jesper Lundin 2007-04-24 12:57:38 +00:00
parent 2cf489403d
commit 515281351c
10 changed files with 64 additions and 17 deletions

View file

@ -11,6 +11,11 @@ import ei.game.scene.GameEntity;
import ei.game.scene.Map;
import ei.game.scene.units.Unit;
/**
* The Building class, handles buildings, this case CommandCenter class.
* @author Jesper Lundin
*
*/
public abstract class Building extends GameEntity{
private Queue<Unit> buildQueue;
private int buildTime;

View file

@ -34,7 +34,7 @@ public class CommandCenter extends Building{
/**
* Doesnt matter anyway. Since buildings cant attack.
*/
public void attack(Vector2i target) {
public void attack(Vector2i target, boolean play) {
}
/**