-
Notifications
You must be signed in to change notification settings - Fork 1
Modes
This component includes three scripts.
A bridge between a BNG button and a Game for selecting modes.
ButtonType(enum) buttonType: What mode should the button be corrolated to?
void Awake:
Summary:
Sets which game the button is tied to.
void OnButton:
*Summary:
Calls function in Modes to change mode in given game on buttonpush.
Class which loads list of mode configurations defined in XML.
*void Start:
Summary:
Loads the XML document, and starts coroutine to convert to instances of Mode.
*IEnumerator (Coroutine) AssignData
Summary:
Assigns data from XML document to instances of Mode.
Summary:
A representation of a mode in the fishFeeding scenario.
Has fields:
- string name
- Tut(enum) tutorial
- bool hud
- int timeLimit
- float failureThreshold
- bool isUnlocked
- float modifier
Note:
Some of these fields remain unused in this scenario, however, they remain in the codebase. This is a result of the extensibility they provide, and probable usecase in other scenarios.
Binding class between a Game and a ModeLoader
void Start
Summary:
Sets related ModeLoader.
void Update
Summary:
Stores all modes, as well as current mode if ModeLoader has finished loading from mode configuration file.
Authors:
Trym Lund Flogard
Emil Aron Andresen Mathiesen
Tor Jacob Neple
Quynh-Lan Nguyen Pham
Markus Aleksander Råkil Johansen
Jon Pape Hallem
Herman Sætre
Mikkel Emil Lange Friis
Peter Olai Johnsen
The reception scene is the first scene the player will find themselves in after the application has started. It serves as a central hub between the different work place scenarios.
The fish laboratory is a subsystem of blue-sector, which runs a simulation of tasks related to analysing the health of the salmon population in a fish farm.
The fish factory is a subsystem of blue-sector, which runs a simulation of several tasks at a farmed Atlantic salmon processing facility.
Fish feeding is a subsystem of blue-sector, which runs a simulation of feeding salmon in a fish farming facility.
This section is related to the improvements to the NPC AI functionality and the connecting system that it now works with.