Oakfolks Gold_1.14
Oakfolks coop game
Loading...
Searching...
No Matches
Interactable.h
1#pragma once
2
3#include "CoreMinimal.h"
4#include "UObject/Interface.h"
5#include "Interactable.generated.h"
6
9class AMainPlayer;
10
12
17UINTERFACE(MinimalAPI)
18class UInteractable : public UInterface
19{
20 GENERATED_BODY()
21};
22
24
29class BCR_API IInteractable
30{
31 GENERATED_BODY()
32
33public:
34
37 UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
38 void Interact(AMainPlayer* Player);
39
41 UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
42 void InteractWithObject(AMainPlayer* Player, AActor* Object);
43};
Main player character for cooperative gameplay.
Definition MainPlayer.h:32
Interface for objects that can be interacted with by players.
Definition Interactable.h:30
Interface class for interactive objects.
Definition Interactable.h:19