You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
650 B
31 lines
650 B
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/Actor.h"
|
|
#include "GameplayTagAssetInterfacE.h"
|
|
#include "MEnemySpawnPoint.generated.h"
|
|
|
|
UCLASS()
|
|
class MECHDEFENCE_API AMEnemySpawnPoint : public AActor, public IGameplayTagAssetInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
AMEnemySpawnPoint();
|
|
|
|
protected:
|
|
virtual void BeginPlay() override;
|
|
|
|
UPROPERTY(EditDefaultsOnly, Category = "Tags")
|
|
FGameplayTagContainer ActorTags;
|
|
|
|
public:
|
|
// Called every frame
|
|
virtual void Tick(float DeltaTime) override;
|
|
|
|
private:
|
|
virtual void GetOwnedGameplayTags(FGameplayTagContainer& TagContainer) const override;
|
|
|
|
};
|
|
|