Added Construction Area Outside Apartment

This commit is contained in:
Rafal Swierczek 2024-04-14 18:58:45 +01:00
parent a9990dd7f2
commit dfe50b6548
7 changed files with 72 additions and 8 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce69e2ea1ad759c5405fb0414aebf0bdcafdbe0420328736cedba27b41528521
size 27320

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0422eee9a7cb3f6e8a6ef4c89e78645e0fe874735bd0e9825cb51d94f570c5b
size 41666092
oid sha256:ba1cd4efcaef5498d769e1db299d043470a1e6fa9bbe2b54927ed2962d4361dd
size 41739957

View File

@ -0,0 +1,32 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "ConstructionVent.h"
// Sets default values
AConstructionVent::AConstructionVent()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned
void AConstructionVent::BeginPlay()
{
Super::BeginPlay();
}
void AConstructionVent::Interact()
{
UE_LOG(LogTemp, Warning, TEXT("Interacting with VENT...sus"));
}
// Called every frame
void AConstructionVent::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}

View File

@ -0,0 +1,29 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "EndlessVendetta/InteractionInterface.h"
#include "GameFramework/Actor.h"
#include "ConstructionVent.generated.h"
UCLASS()
class ENDLESSVENDETTA_API AConstructionVent : public AActor, public IInteractionInterface
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AConstructionVent();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
void Interact() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
};