public class Spawner extends GameObject
Modifier and Type | Field and Description |
---|---|
boolean |
hasBeenHarvested
True if this Spawner has been harvested this turn, and it will not heal at the end of the turn, false otherwise.
|
int |
health
How much health this Spawner has, which is used to calculate how much of its resource can be harvested.
|
Tile |
tile
The Tile this Spawner is on.
|
java.lang.String |
type
What type of resource this is ('food' or 'branches').
|
logs
log
public boolean hasBeenHarvested
public int health
public Tile tile
public java.lang.String type
© 2020 MST ACM SIG-GAME