From 51cc5b893067d734d54825aa44e22fa5f9089812 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek <34179rs@gmail.com> Date: Wed, 27 Sep 2023 14:09:45 +0100 Subject: [PATCH] Added Empty Bounty System Classes --- .../Architecture/Floor_400x400.uasset | 4 +-- EndlessVendetta/EndlessVendetta.uproject | 5 +++- .../BountySystem/BountyClass.cpp | 27 +++++++++++++++++++ .../BountySystem/BountyClass.h | 26 ++++++++++++++++++ .../BountySystem/BountyDirector.cpp | 27 +++++++++++++++++++ .../BountySystem/BountyDirector.h | 26 ++++++++++++++++++ .../BountySystem/CheckpointClass.cpp | 27 +++++++++++++++++++ .../BountySystem/CheckpointClass.h | 26 ++++++++++++++++++ .../BountySystem/SideBountyClass.cpp | 5 ++++ .../BountySystem/SideBountyClass.h | 17 ++++++++++++ 10 files changed, 187 insertions(+), 3 deletions(-) create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.cpp create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.h create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.cpp create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.cpp create mode 100644 EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.h diff --git a/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset b/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset index e3a82355..b62ede04 100644 --- a/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset +++ b/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c37220dc1a6682fd8e949470980677a49dab396cf3cf2b7c66e37adb26f36006 -size 14829 +oid sha256:1b95b1625b69860032c6a30ad9af83d68e7c0214b449e5355e3affa071fa6230 +size 14831 diff --git a/EndlessVendetta/EndlessVendetta.uproject b/EndlessVendetta/EndlessVendetta.uproject index 02d42dff..4717d351 100644 --- a/EndlessVendetta/EndlessVendetta.uproject +++ b/EndlessVendetta/EndlessVendetta.uproject @@ -7,7 +7,10 @@ { "Name": "EndlessVendetta", "Type": "Runtime", - "LoadingPhase": "Default" + "LoadingPhase": "Default", + "AdditionalDependencies": [ + "Engine" + ] } ], "Plugins": [ diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.cpp new file mode 100644 index 00000000..c497cd67 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.cpp @@ -0,0 +1,27 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "BountyClass.h" + +// Sets default values +ABountyClass::ABountyClass() +{ + // 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 ABountyClass::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void ABountyClass::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.h new file mode 100644 index 00000000..d56e3d21 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyClass.h @@ -0,0 +1,26 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Actor.h" +#include "BountyClass.generated.h" + +UCLASS() +class ENDLESSVENDETTA_API ABountyClass : public AActor +{ + GENERATED_BODY() + +public: + // Sets default values for this actor's properties + ABountyClass(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + +}; diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp new file mode 100644 index 00000000..67e12786 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp @@ -0,0 +1,27 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "BountyDirector.h" + +// Sets default values +ABountyDirector::ABountyDirector() +{ + // 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 ABountyDirector::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void ABountyDirector::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h new file mode 100644 index 00000000..7192ce21 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h @@ -0,0 +1,26 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Actor.h" +#include "BountyDirector.generated.h" + +UCLASS() +class ENDLESSVENDETTA_API ABountyDirector : public AActor +{ + GENERATED_BODY() + +public: + // Sets default values for this actor's properties + ABountyDirector(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + +}; diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.cpp new file mode 100644 index 00000000..630725e4 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.cpp @@ -0,0 +1,27 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "CheckpointClass.h" + +// Sets default values +ACheckpointClass::ACheckpointClass() +{ + // 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 ACheckpointClass::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void ACheckpointClass::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h new file mode 100644 index 00000000..d8e09c23 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h @@ -0,0 +1,26 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Actor.h" +#include "CheckpointClass.generated.h" + +UCLASS() +class ENDLESSVENDETTA_API ACheckpointClass : public AActor +{ + GENERATED_BODY() + +public: + // Sets default values for this actor's properties + ACheckpointClass(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + +}; diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.cpp new file mode 100644 index 00000000..9cb7eb8b --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "SideBountyClass.h" + diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.h new file mode 100644 index 00000000..460bb922 --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/SideBountyClass.h @@ -0,0 +1,17 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "BountyClass.h" +#include "SideBountyClass.generated.h" + +/** + * + */ +UCLASS() +class ENDLESSVENDETTA_API ASideBountyClass : public ABountyClass +{ + GENERATED_BODY() + +};