Game Manager - Hawthorn-Games/ProjectScrapped GitHub Wiki
| Type | Name | Description |
|---|---|---|
| -UserWidgetObj | currentWidget | Current HUD widget reference |
| -EHUD | HUDState | Current HUD state |
| -PuzzleManagerObj | currentPuzzle | Current active puzzle |
| -bool | bIsPaused | Status of the custom update |
Given the current HUD state, applies the newly selected HUD.
Removes old HUD and applies the new one. Sets click events and cursor visibility
| Inputs | Descriptions |
|---|---|
| USerWidgetClass: HUDClass | The new HUD class to apply |
| bool: bShowMouseCursor | Should the cursor be visible in the new HUD |
| bool: bEnableClickEvents | Shouldclick events be enabled in the new HUD |
| Outputs | Descriptions |
|---|---|
| bool: bSuccess | Has the new HUD been applied |
The function to call to change and apply HUD.
| Input | Descritption |
|---|---|
| EHUD: newState | The new HUD to apply |
Add points to the total if the value to add is positive.
| Inputs | Description |
|---|---|
| float: points | The value to add to the current points |
| Outputs | Description |
|---|---|
| bool: bSuccess | Have the points been added or not |
Return the current points.
| Outputs | Description |
|---|---|
| float: points | current points of the player |
Sets the currentPuzzle variable to the puzzle the player just entered.
| Inputs | Description |
|---|---|
| PuzzleManagerOBJ: newPuzzle | The new puzzle |
Returns the puzzle the player is currently in.
| Ouput | Description |
|---|---|
| PuzzleManagerOBJ: Puzzle | The current puzzle |
Returns the status of the custom loop used by programmable objects.
| Outputs | Description |
|---|---|
| bool: status | True if the programmables should run, false otherwise |
Sets bIsPaused to false.
Sets bIsPaused to true.