WorkContext
final case class WorkContext[Actor, Context](gameTime: GameTime, dice: Dice, actor: Actor, context: Context)
The context the work is being done in, similar to frame context, work is not done in a vacuum.
- Value parameters:
- actor
An instance of the actor, for asking question like "Can the actor do the work?"
- context
A free form type, e.g.: A list of other characters the worker can see.
- dice
A dice for random number generation.
- gameTime
The supplied game time.