public class FireDepartment extends Building
Modifier and Type | Field and Description |
---|---|
int |
fireExtinguished
The amount of fire removed from a building when bribed to extinguish a building.
|
bribed, buildingEast, buildingNorth, buildingSouth, buildingWest, fire, health, isHeadquarters, owner, x, y
logs
Modifier and Type | Method and Description |
---|---|
boolean |
extinguish(Building building)
Bribes this FireDepartment to extinguish the some of the fire in a building.
|
log
public int fireExtinguished
public boolean extinguish(Building building)
building
- The Building you want to extinguish.© 2020 MST ACM SIG-GAME