// 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 pickup_class; private: /** * Random number stream. */ FRandomStream random; };