A need, one of the core building blocks of NEEDSIMLifeSimulation
More...
|
| NeedItem (string name, float changeRate, float critical, float satisfied) |
| Create a new need. More...
|
|
|
string | needName |
| The unique name of the need. Identifier. More...
|
|
float | minValue |
| The limit below which the need satisfaction level is capped. More...
|
|
float | maxValue |
| The limit above which the the need satisfaction level is capped. More...
|
|
float | changePerSecond |
| How much the need changes per second. For example how hungry a character gets over time More...
|
|
float | criticalState |
| The limit below which the state of the need satisfcation is considered critical. More...
|
|
float | satisfiedState |
| The limit above which the state of the need satisfaction is considered satisfied. More...
|
|
A need, one of the core building blocks of NEEDSIMLifeSimulation
Simulation.NeedItem.NeedItem |
( |
string |
name, |
|
|
float |
changeRate, |
|
|
float |
critical, |
|
|
float |
satisfied |
|
) |
| |
Create a new need.
- Parameters
-
name | The unique name of the need. Identifier. |
changeRate | How much the need changes per second. For example how hungry a character gets over time |
critical | The limit below which the state of the need satisfcation is considered critical. |
satisfied | The limit above which the state of the need satisfaction is considered satisfied. |
float Simulation.NeedItem.changePerSecond |
How much the need changes per second. For example how hungry a character gets over time
float Simulation.NeedItem.criticalState |
The limit below which the state of the need satisfcation is considered critical.
float Simulation.NeedItem.maxValue |
The limit above which the the need satisfaction level is capped.
float Simulation.NeedItem.minValue |
The limit below which the need satisfaction level is capped.
string Simulation.NeedItem.needName |
The unique name of the need. Identifier.
float Simulation.NeedItem.satisfiedState |
The limit above which the state of the need satisfaction is considered satisfied.
The documentation for this class was generated from the following file: