public class WeatherStation extends Building
bribed, buildingEast, buildingNorth, buildingSouth, buildingWest, fire, health, isHeadquarters, owner, x, y
logs
Modifier and Type | Method and Description |
---|---|
boolean |
intensify()
Defaults the value for the optional arg 'negative' to 'false'
|
boolean |
intensify(boolean negative)
Bribe the weathermen to intensity the next Forecast by 1 or -1.
|
boolean |
rotate()
Defaults the value for the optional arg 'counterclockwise' to 'false'
|
boolean |
rotate(boolean counterclockwise)
Bribe the weathermen to change the direction of the next Forecast by rotating it clockwise or counterclockwise.
|
log
public boolean intensify()
intensify(boolean)
public boolean intensify(boolean negative)
negative
- By default the intensity will be increased by 1, setting this to true decreases the intensity by 1.public boolean rotate()
rotate(boolean)
public boolean rotate(boolean counterclockwise)
counterclockwise
- By default the direction will be rotated clockwise. If you set this to true we will rotate the forecast counterclockwise instead.© 2020 MST ACM SIG-GAME