blaster/Source/Blaster/PlayerController/BlasterPlayerController.h

32 lines
563 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "BlasterPlayerController.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API ABlasterPlayerController : public APlayerController
{
GENERATED_BODY()
public:
void SetHUDHealth(float Health, float MaxHealth);
void SetHUDScore(float Score);
virtual void OnPossess(APawn* InPawn) override;
protected:
virtual void BeginPlay() override;
private:
class ABlasterHUD* BlasterHUD;
};