blockGameInput
Enable user input, if gaming mode is activated
Extends from Interfaces.PartialConverters.SO (Generic converter for signals).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This component allows to easily set up a model as to either allow for user input (i.e., modelSettings.gaming = true) or to work without any such input (i.e., modelSettings.gaming = false). The user input is to be provided using the input connector u_User, while the regular input needs to be connected to the input u
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealInput | u | Input to be used if modelSettings.gaming = false | |
| Interfaces.Connectors.RealInput | u_User | User input to be used if modelSettings.gaming = true |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | ||
| ModelSettings | modelSettings |
Revisions
- Introduced in v2.1.0.