This commit is contained in:
parent
59ac3f7883
commit
921b30ca95
1 changed files with 3 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ package ei.game.scene.buildings;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Queue;
|
import java.util.Queue;
|
||||||
|
|
||||||
|
import ei.game.player.Player;
|
||||||
import ei.game.scene.GameEntity;
|
import ei.game.scene.GameEntity;
|
||||||
import ei.game.scene.units.Unit;
|
import ei.game.scene.units.Unit;
|
||||||
|
|
||||||
|
|
@ -10,8 +11,8 @@ public abstract class Building extends GameEntity{
|
||||||
private ArrayList<Unit> availableUnits;
|
private ArrayList<Unit> availableUnits;
|
||||||
private Queue<Unit> buildQueue;
|
private Queue<Unit> buildQueue;
|
||||||
|
|
||||||
public Building(int l) {
|
public Building(int l, Player p) {
|
||||||
super(l);
|
super(l,p);
|
||||||
// TODO Auto-generated constructor stub
|
// TODO Auto-generated constructor stub
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue