LEAP Documentation 40220
Documentation for the LEAP project
DeployableSpawnPoint.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2021. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "DeployableSpawnPoint.generated.h"
9
11
12UCLASS()
13class PROJECTX_API ADeployableSpawnPoint : public ADeployable, public ISpawnTargetInterface
14{
15 GENERATED_BODY()
16public:
17 virtual void Init() override;
18 virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
19 virtual bool CanSpawnPlayer(const AProjectXPlayerState* InInstigator) const;
20 virtual bool GetSpawnLocation(AProjectXPlayerState* InInstigator, FTransform& Transform) const;
21};
Definition: Deployable.h:47
Definition: DeployableSpawnPoint.h:14
Definition: ProjectXPlayerState.h:238
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override
Definition: ProjectXPlayerState.cpp:108
Definition: SpawnTargetInterface.h:18