GameInput

Enable user input, if gaming mode is activated

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 (3)

y

Type: RealOutput

Description: Output signal

u

Type: RealInput

Description: Input to be used if modelSettings.gaming = false

u_User

Type: RealInput

Description: User input to be used if modelSettings.gaming = true

Components (1)

modelSettings

Type: ModelSettings

Description: Setting important global variables within a model

Revisions

  • Introduced in v2.1.0.