Oakfolks Gold_1.14
Oakfolks coop game
|
Special rope object for cooperative interactions. More...
#include <UniqueRope.h>
Public Member Functions | |
AUniqueRope () | |
Initializes the rope object with default settings. | |
virtual void | BeginPlay () override |
Called when the rope object is spawned in the world. | |
virtual void | Tick (float DeltaTime) override |
Updates the rope object each frame. | |
![]() | |
void | Interact (AMainPlayer *Player) |
void | InteractWithObject (AMainPlayer *Player, AActor *Object) |
Object-specific interaction. | |
Protected Member Functions | |
void | Interact_Implementation (AMainPlayer *Player) |
Handles basic player interaction with the rope. | |
void | InteractWithObject_Implementation (AMainPlayer *Player, AActor *Object) |
Handles player interaction with the rope while holding objects. | |
Special rope object for cooperative interactions.
Implements interactive functionality for rope-based mini-games
AUniqueRope::AUniqueRope | ( | ) |
Initializes the rope object with default settings.
Sets up tick functionality and interactive properties
|
overridevirtual |
Called when the rope object is spawned in the world.
Performs initialization logic for the rope interaction system
|
protected |
Handles basic player interaction with the rope.
INTERFACE IMPLEMENTATION //////// IInteractable methods
Defines behavior when player interacts without holding objects
Player | The player interacting with the rope |
|
protected |
Handles player interaction with the rope while holding objects.
Defines behavior when player interacts while carrying items
Player | The player interacting with the rope |
Object | The object the player is holding |
|
overridevirtual |
Updates the rope object each frame.
Handles any per-frame logic for the rope system
DeltaTime | Time elapsed since the last frame in seconds |