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 Params
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.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product