Skip to content
Snippets Groups Projects
Commit e52986a6 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

refactor(interaction): Adjusts folder structure

parent 57c79163
No related branches found
No related tags found
1 merge request!39Refactor: new folder structure
Showing
with 16 additions and 18 deletions
No preview for this file type
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/ClickBehaviour.h" #include "Interaction/Interactees/ClickBehaviour.h"
// Sets default values for this component's properties // Sets default values for this component's properties
UClickBehaviour::UClickBehaviour() UClickBehaviour::UClickBehaviour()
......
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/GrabbableComponent.h" #include "Interaction/Interactees/GrabbableComponent.h"
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/HoverBehaviour.h" #include "Interaction/Interactees/HoverBehaviour.h"
void UHoverBehaviour::OnHoverStart(const USceneComponent* TriggeredComponent, FHitResult Hit) void UHoverBehaviour::OnHoverStart(const USceneComponent* TriggeredComponent, FHitResult Hit)
{ {
......
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/InteractableBase.h" #include "Interaction/Interactees/InteractableBase.h"
#include "Interaction/ClickBehaviour.h" #include "Interaction/Interactees/ClickBehaviour.h"
#include "Interaction/HoverBehaviour.h" #include "Interaction/Interactees/HoverBehaviour.h"
void UInteractableBase::RestrictInteractionToComponents(const TArray<USceneComponent*>& Components) void UInteractableBase::RestrictInteractionToComponents(const TArray<USceneComponent*>& Components)
{ {
......
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/OnClickGrabBehavior.h" #include "Interaction/Interactees/OnClickGrabBehavior.h"
#include "Interaction/InteractableBase.h" #include "Interaction/Interactees/InteractableBase.h"
#include "Kismet/GameplayStatics.h" #include "Kismet/GameplayStatics.h"
#include "Serialization/JsonTypes.h" #include "Serialization/JsonTypes.h"
......
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/RaycastSelectable.h" #include "Interaction/Interactees/RaycastSelectable.h"
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/GrabComponent.h" #include "Interaction/Interactors/GrabComponent.h"
#include "EnhancedInputComponent.h" #include "EnhancedInputComponent.h"
#include "EnhancedInputSubsystems.h" #include "EnhancedInputSubsystems.h"
#include "Interaction/GrabbableComponent.h" #include "Interaction/Interactees/GrabbableComponent.h"
#include "Kismet/GameplayStatics.h" #include "Kismet/GameplayStatics.h"
......
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "Interaction/RaycastSelectionComponent.h" #include "Interaction/Interactors/RaycastSelectionComponent.h"
#include "EnhancedInputComponent.h" #include "EnhancedInputComponent.h"
#include "EnhancedInputSubsystems.h" #include "EnhancedInputSubsystems.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "Interaction/InteractableBase.h" #include "Interaction/Interactees/InteractableBase.h"
#include "GrabbableComponent.generated.h" #include "GrabbableComponent.generated.h"
/** /**
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "Interaction/InteractableBase.h" #include "Interaction/Interactees/InteractableBase.h"
#include "RaycastSelectable.generated.h" #include "RaycastSelectable.generated.h"
/** /**
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <Pawn/InputExtensionInterface.h> #include <Pawn/InputExtensionInterface.h>
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "RaycastSelectable.h" #include "Interaction/Interactees/RaycastSelectable.h"
#include "Components/SceneComponent.h" #include "Components/SceneComponent.h"
#include "RaycastSelectionComponent.generated.h" #include "RaycastSelectionComponent.generated.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment