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

TypeNameDefaultDescription
Interfaces.Connectors.RealInputuInput to be used if modelSettings.gaming = false
Interfaces.Connectors.RealInputu_UserUser input to be used if modelSettings.gaming = true

Components

TypeNameDefaultDescription
RealOutputy (from SO)
ModelSettingsmodelSettings

Revisions

  • Introduced in v2.1.0.