COSC-3P91-Assignments/Assignment 1/code/gameobjects/Building.java

51 lines
642 B
Java
Raw Permalink Normal View History

2023-03-01 12:38:32 -05:00
package gameobjects;
import java.util.List;
public abstract class Building {
private static int level;
private int health;
private static Stage stages;
private int goldCost;
private int ironCost;
private int woodCost;
private int buildTime;
public List<Stage> stage;
public Tile tile;
public List<Inhabitant> inhabitant;
public int getLevel() {
return level;
}
public int getHealth() {
return health;
}
public int getCost(String type) {
return 0;
}
public int getUpgradeCost() {
return 0;
}
public void upgrade() {
}
public int getBuildTime() {
return 0;
}
}