From these data items used in the editor the interactions for the runtime will be generated.
More...
From these data items used in the editor the interactions for the runtime will be generated.
void Simulation.InteractionData.Init |
( |
string |
name, |
|
|
List< StringFloatPair > |
satisfactionRates |
|
) |
| |
Create the data for a new interaction.
- Parameters
-
name | The unique name of the need. Identifier. |
satisfactionRates | The rate at which the interaction satisfies or decays each need per second. |
List<string> Simulation.InteractionData.AtSatisfactionLevels |
bool Simulation.InteractionData.doesHavePreconditions |
Whether this interaction has preconditions. Setting this to false can speed up the simulation at the cost of not evaluating preconditions.
float Simulation.InteractionData.duration |
The duration in seconds of the interaction.
string Simulation.InteractionData.interactionName |
The unique name of the need. Identifier.
The rate at which each need is decayed or satisfied per second whilst the interaction is performed.
List<string> Simulation.InteractionData.SpeciesAllowed |
Which species are allowed to participate this interaction (precondition)
The documentation for this class was generated from the following file: