QcMobLegs::Budget Struct
struct QcMobLegs::BudgetHow many questions to the routes are left this tick. More...
| Header: | #include <server/pathing/QcMobLegs.h> |
Public Functions
Public Variables
Detailed Description
Member Function Documentation
bool Budget::spent() const
Returns whether the budget is spent.
bool Budget::take()
Takes one question; returns false (nothing taken) when the budget is spent.
Member Variable Documentation
int Budget::limit
Questions allowed this tick.
int Budget::used
Questions taken this tick.