public class BroodMother extends Spider
Modifier and Type | Field and Description |
---|---|
int |
eggs
How many eggs the BroodMother has to spawn Spiderlings this turn.
|
int |
health
How much health this BroodMother has left.
|
logs
Modifier and Type | Method and Description |
---|---|
boolean |
consume(Spiderling spiderling)
Consumes a Spiderling of the same owner to regain some eggs to spawn more Spiderlings.
|
Spiderling |
spawn(java.lang.String spiderlingType)
Spawns a new Spiderling on the same Nest as this BroodMother, consuming an egg.
|
log
public int eggs
public int health
public boolean consume(Spiderling spiderling)
spiderling
- The Spiderling to consume. It must be on the same Nest as this BroodMother.public Spiderling spawn(java.lang.String spiderlingType)
spiderlingType
- The string name of the Spiderling class you want to Spawn. Must be 'Spitter', 'Weaver', or 'Cutter'.© 2020 MST ACM SIG-GAME