Implemented First Two Checkpoints

This commit is contained in:
Rafal Swierczek 2023-10-19 18:28:33 +01:00
parent aac09873f2
commit 97ac729dd5
11 changed files with 49 additions and 14 deletions

View File

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

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5c15f23ffe72a5addc71f6982edf1d60d246b1b4a174e9db4f737ee71480dfd
size 23100
oid sha256:ab23608f919ecfc92215a4480723e0e1520ab11a2c64b7ce818aa7eba94dc263
size 21392

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:264017fbfa9d46717dac13e666eef14f4d1732cd7a3e26ab4a91f5d381586757
size 14244
oid sha256:b09916d29e6da12f59b90803629e9497f462ec6e03fb1a25c314fe1cdcc1a56c
size 14438

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50c23f300085d150ffc94cfe05fb67283e7a15ee0bdb526c4473aace7620aa97
size 388285
oid sha256:8d041dd81120eb99204c2ef8f33b5237f80a734ecca524159383263489dfadc1
size 401728

View File

@ -0,0 +1,9 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "PickUpGunTutorialCheckPoint.h"
void APickUpGunTutorialCheckPoint::Interact()
{
BroadcastCompletion();
}

View File

@ -0,0 +1,20 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "EndlessVendetta/InteractionInterface.h"
#include "EndlessVendetta/BountySystem/CheckpointClass.h"
#include "PickUpGunTutorialCheckPoint.generated.h"
/**
*
*/
UCLASS()
class ENDLESSVENDETTA_API APickUpGunTutorialCheckPoint : public ACheckpointClass, public IInteractionInterface
{
GENERATED_BODY()
void Interact() override;
};

View File

@ -28,6 +28,7 @@ class ENDLESSVENDETTA_API ACheckpointClass : public AActor
AWaypointActor* WaypointActor;
// ----------------------------------------
protected:
UFUNCTION(BlueprintCallable, Category = "Checkpoint")
void BroadcastCompletion()
@ -36,7 +37,6 @@ class ENDLESSVENDETTA_API ACheckpointClass : public AActor
CompletedCheckpoint.Broadcast();
}
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;