blaster/Source/Blaster/PlayerController/BlasterPlayerController.h

31 lines
531 B
C
Raw Normal View History

2022-05-05 15:57:57 +00:00
// 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()
2022-05-07 10:03:33 +00:00
public:
void SetHUDHealth(float Health, float MaxHealth);
2022-05-08 19:16:19 +00:00
virtual void OnPossess(APawn* InPawn) override;
2022-05-07 10:03:33 +00:00
protected:
virtual void BeginPlay() override;
private:
class ABlasterHUD* BlasterHUD;
2022-05-05 15:57:57 +00:00
};