public class Web extends GameObject
Modifier and Type | Field and Description |
---|---|
double |
length
How long this Web is, i.e., the distance between its nestA and nestB.
|
int |
load
How much weight this Web currently has on it, which is the sum of all its Spiderlings weight.
|
Nest |
nestA
The first Nest this Web is connected to.
|
Nest |
nestB
The second Nest this Web is connected to.
|
java.util.List<Spiderling> |
spiderlings
All the Spiderlings currently moving along this Web.
|
int |
strength
How much weight this Web can take before snapping and destroying itself and all the Spiders on it.
|
logs
log
public double length
public int load
public Nest nestA
public Nest nestB
public java.util.List<Spiderling> spiderlings
public int strength
© 2020 MST ACM SIG-GAME