Context#
- class Context(state: RecordSet)[source]#
Bases:
object
State of your run.
- Parameters:
state (RecordSet) – Holds records added by the entity in a given run and that will stay local. This means that the data it holds will never leave the system it’s running from. This can be used as an intermediate storage or scratchpad when executing mods. It can also be used as a memory to access at different points during the lifecycle of this entity (e.g. across multiple rounds)
Methods
Attributes
state