public class Spitter extends Spiderling
Modifier and Type | Field and Description |
---|---|
Nest |
spittingWebToNest
The Nest that this Spitter is creating a Web to spit at, thus connecting them.
|
busy, movingOnWeb, movingToNest, numberOfCoworkers, workRemaining
logs
Modifier and Type | Method and Description |
---|---|
boolean |
spit(Nest nest)
Creates and spits a new Web from the Nest the Spitter is on to another Nest, connecting them.
|
attack, move
log
public Nest spittingWebToNest
public boolean spit(Nest nest)
nest
- The Nest you want to spit a Web to, thus connecting that Nest and the one the Spitter is on.© 2020 MST ACM SIG-GAME