![]() |
DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
|
The class that is used to display all of the holders for each created scenario. More...
#include <ScenarioWidget.h>
Public Member Functions | |
void | SetMembers (FString Name, FString Description, FName MapName) |
Setting all the members in the scenario widget and setting a button dynamic. More... | |
void | ChangeToLevel () |
Changes the level based on if the menu is in main menu, or editor mode and sends the gamemode as a parameter. | |
void | SetMenuMode (bool mode) |
Changes the menu mode. More... | |
The class that is used to display all of the holders for each created scenario.
void UScenarioWidget::SetMembers | ( | FString | Name, |
FString | Description, | ||
FName | MapName | ||
) |
Setting all the members in the scenario widget and setting a button dynamic.
Name | - The name of the Scenario |
Description | - Description of the scenario. |
MapName | - The FName reference of the level |
void UScenarioWidget::SetMenuMode | ( | bool | mode | ) |
Changes the menu mode.
mode | - The menu mode to be set |