public class Weaver extends Spiderling
Modifier and Type | Field and Description |
---|---|
Web |
strengtheningWeb
The Web that this Weaver is strengthening.
|
Web |
weakeningWeb
The Web that this Weaver is weakening.
|
busy, movingOnWeb, movingToNest, numberOfCoworkers, workRemaining
logs
Modifier and Type | Method and Description |
---|---|
boolean |
strengthen(Web web)
Weaves more silk into an existing Web to strengthen it.
|
boolean |
weaken(Web web)
Weaves more silk into an existing Web to strengthen it.
|
attack, move
log
public Web strengtheningWeb
public Web weakeningWeb
public boolean strengthen(Web web)
web
- The web you want to strengthen. Must be connected to the Nest this Weaver is currently on.public boolean weaken(Web web)
web
- The web you want to weaken. Must be connected to the Nest this Weaver is currently on.© 2020 MST ACM SIG-GAME