presidents-brigade/Source/PresidentsBrigade/EnemyPawn.h
2022-11-12 17:37:22 -08:00

34 lines
616 B
C++
Executable File

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BasePawn.h"
#include "EnemyPawn.generated.h"
class APickup;
/**
*
*/
UCLASS()
class PRESIDENTSBRIGADE_API AEnemyPawn : public ABasePawn
{
GENERATED_BODY()
protected:
virtual void BeginPlay() override;
virtual void destroy_self() override;
/**
* Pickup class to spawn on death.
*/
UPROPERTY(EditAnywhere, Category = "Player")
TSubclassOf<class APickup> pickup_class;
private:
/**
* Random number stream.
*/
FRandomStream random;
};