|
| AEditorHUD () |
| Constructs all images and adds them to an array and initialzes the hard coded config for objects.
|
|
virtual void | DrawHUD () override |
|
virtual void | BeginPlay () override |
| Finds the player controller, finds all objects, created the content browser and adds dynamic functions to the editorwidget's buttons. More...
|
|
virtual void | Tick (float DeltaSeconds) override |
|
void | SetupEditorWidget () |
| Setting up the widget for the editor mode.
|
|
void | SetupMainMenuWidget () |
| Setting up the Main Menu widget.
|
|
void | SetupLoginMenuWidget () |
|
void | SetupGameWidget () |
|
void | SetupPauseMenu () |
| Settign up the Pause Menu widget.
|
|
void | CreateAndPopulateBrowserGrid (UEditorWidget *widget) |
| Creates each of the object widgets which is part of the uniform grid that fills the content browser. More...
|
|
void | CreateAndPopulateMainMenu (UMainMenuWidget *widget) |
| Fills the main menu widget with scenario widgets. More...
|
|
void | UpdateTrainButtonClick () |
|
void | UpdateRailwayButtonClick () |
|
void | UpdateHouseButtonClick () |
|
void | UpdateSignalButtonClick () |
|
void | UpdateOtherButtonClick () |
|
void | SaveGame () |
| Saves the current game changes. More...
|
|
void | LoadGame () |
| Loads the game. More...
|
|
void | SetToolTranslation () |
| Changes the tool mode in the Editor to translation. More...
|
|
void | SetToolRotation () |
| Changes the tool mode in the Editor to rotation. More...
|
|
void | DeleteObject () |
| Calls on editorController to delete an object. More...
|
|
void | ChangeMenuMode () |
| Changes the menu mode between Main Menu and Editor Menu.
|
|
void | OpenSettings () |
| Creating and displaying the Settings widget.
|
|
void | SetTrainDMI (float Speed) |
| Updates the train DMI. More...
|
|
void | HideTrainDMI () |
| Calls the Hide() function in TrainDMI.cpp to remove the DMI from the viewport. More...
|
|
void | ShowTrainDMI () |
| Adds the Train DMI to the viewport.
|
|
|
TArray< FString > | ConfigTrain |
| Hardcoded Object code.
|
|
TArray< FObjects > | TrainBrowserContent |
|
TArray< FCBObjectStruct > | CBObjects |
| All objects.
|
|
TArray< FMMObjectStruct > | MMObjects |
| All objects.
|
|
TSubclassOf< class UUserWidget > | EditorWidgetClass |
| The editor widget class.
|
|
TSubclassOf< class UUserWidget > | ObjectWidgetClass |
| The object widget class.
|
|
TSubclassOf< class UUserWidget > | TopBarWidgetClass |
| The top bar widget class.
|
|
TSubclassOf< class UUserWidget > | MainMenuWidgetClass |
| The main menu widget class.
|
|
TSubclassOf< class UUserWidget > | LoginMenuWidgetClass |
| The login menu widget class.
|
|
TSubclassOf< class UUserWidget > | ScenarioWidgetClass |
| The scenario widget class.
|
|
TSubclassOf< class UUserWidget > | SettingsWidgetClass |
| The settings widget class.
|
|
TSubclassOf< class UUserWidget > | TrainDMIWidgetClass |
| The TrainDMI widget class.
|
|
TSubclassOf< class UUserWidget > | PauseMenuWidgetClass |
| The TrainDMI widget class.
|
|
TSubclassOf< APlayerController > | MainMenuController |
| The settings widget class.
|
|
TSubclassOf< APlayerController > | EditGameController |
| The settings widget class.
|
|
TSubclassOf< APlayerController > | GameController |
| The settings widget class.
|
|
TSubclassOf< AEditorController > | EditorControllerClass |
|
ASaveManager * | SaveManager |
|
◆ BeginPlay()
void AEditorHUD::BeginPlay |
( |
| ) |
|
|
overridevirtual |
Finds the player controller, finds all objects, created the content browser and adds dynamic functions to the editorwidget's buttons.
- See also
- CreateAndPopulateGrid()
◆ CreateAndPopulateBrowserGrid()
void AEditorHUD::CreateAndPopulateBrowserGrid |
( |
UEditorWidget * |
widget | ) |
|
Creates each of the object widgets which is part of the uniform grid that fills the content browser.
- Parameters
-
widget | - The editor widget. |
◆ CreateAndPopulateMainMenu()
Fills the main menu widget with scenario widgets.
- Parameters
-
widget | - The main menu widget |
◆ DeleteObject()
void AEditorHUD::DeleteObject |
( |
| ) |
|
Calls on editorController to delete an object.
- See also
- AEditorcontroller::DeleteSelectedObjects()
◆ DrawHUD()
void AEditorHUD::DrawHUD |
( |
| ) |
|
|
overridevirtual |
Function for drawing the HUD
◆ HideTrainDMI()
void AEditorHUD::HideTrainDMI |
( |
| ) |
|
Calls the Hide() function in TrainDMI.cpp to remove the DMI from the viewport.
- See also
- TrainDMI::Hide()
◆ LoadGame()
void AEditorHUD::LoadGame |
( |
| ) |
|
◆ SaveGame()
void AEditorHUD::SaveGame |
( |
| ) |
|
◆ SetToolRotation()
void AEditorHUD::SetToolRotation |
( |
| ) |
|
Changes the tool mode in the Editor to rotation.
- See also
- EditorController::SetToolMode()
◆ SetToolTranslation()
void AEditorHUD::SetToolTranslation |
( |
| ) |
|
Changes the tool mode in the Editor to translation.
- See also
- EditorController::SetToolMode()
◆ SetTrainDMI()
void AEditorHUD::SetTrainDMI |
( |
float |
Speed | ) |
|
Updates the train DMI.
- Parameters
-
Speed | - Current speed of the train. |
The documentation for this class was generated from the following files: