Oakfolks Gold_1.14
Oakfolks coop game
Loading...
Searching...
No Matches
AUniqueRope Class Reference

Special rope object for cooperative interactions. More...

#include <UniqueRope.h>

Inheritance diagram for AUniqueRope:
Collaboration diagram for AUniqueRope:

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.
 
- Public Member Functions inherited from IInteractable
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.
 

Detailed Description

Special rope object for cooperative interactions.

Implements interactive functionality for rope-based mini-games

Constructor & Destructor Documentation

◆ AUniqueRope()

AUniqueRope::AUniqueRope ( )

Initializes the rope object with default settings.

Sets up tick functionality and interactive properties

Member Function Documentation

◆ BeginPlay()

void AUniqueRope::BeginPlay ( )
overridevirtual

Called when the rope object is spawned in the world.

Performs initialization logic for the rope interaction system

◆ Interact_Implementation()

void AUniqueRope::Interact_Implementation ( AMainPlayer * Player)
protected

Handles basic player interaction with the rope.

INTERFACE IMPLEMENTATION //////// IInteractable methods

Defines behavior when player interacts without holding objects

Parameters
PlayerThe player interacting with the rope

◆ InteractWithObject_Implementation()

void AUniqueRope::InteractWithObject_Implementation ( AMainPlayer * Player,
AActor * Object )
protected

Handles player interaction with the rope while holding objects.

Defines behavior when player interacts while carrying items

Parameters
PlayerThe player interacting with the rope
ObjectThe object the player is holding

◆ Tick()

void AUniqueRope::Tick ( float DeltaTime)
overridevirtual

Updates the rope object each frame.

Handles any per-frame logic for the rope system

Parameters
DeltaTimeTime elapsed since the last frame in seconds

The documentation for this class was generated from the following files: