TimeAgent.

TimeAgent.SimulationCallbackPolicy Enum

Summary

The Simulation callback policies. The simulation callbacks are called on the TimeAgent by the TimeStone during a simulation execution.
Namespace
RedGirafeGames.Agamotto.Scripts.Runtime.Agents
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["TimeAgent.SimulationCallbackPolicy"] class Type type-node

Syntax

public enum TimeAgent.SimulationCallbackPolicy

Fields

Name Constant Value Summary
All 0
The callbacks are called on both the original TimeAgent and the simulation clone
static
CloneOnly 2
Default policy : the callbacks are only called on the Cloned TimeAgent used by simulations. This policy makes code easier because you don't have to check for IsClone in your callbacks if the original TimeAgent does not receive the callbacks
static
OriginalOnly 1
Only the original TimeAgent will receive the callbacks (to be honest, this policy does not really make any sense but... anyway
static