Interface IRunBot
- Namespace
- SurvivorsMaker.Balance
- Assembly
- SurvivorsMaker.Balance.dll
An automated player for headless runs. One instance plays one run at a time; the runner calls Begin(RunState, SimRandom) before each run. Bots must use only the random they are given so results stay reproducible.
public interface IRunBot
Properties
Name
Short name shown in reports, e.g. "random" or "greedy".
string Name { get; }
Property Value
Methods
Begin(RunState, SimRandom)
void Begin(RunState run, SimRandom random)
Parameters
ChooseLevelUp(RunState)
Index into Choices. Must be a choice the controller accepts.
int ChooseLevelUp(RunState run)
Parameters
runRunState
Returns
Move(SimWorld)
Movement for the next tick, length 0–1.
Vec2 Move(SimWorld world)
Parameters
worldSimWorld
Returns
Shop(RunController)
Spend the shop phase through the controller (buy, reroll, lock, merge, recycle). Do not call NextWave.
void Shop(RunController controller)
Parameters
controllerRunController