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);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
virtual void BeginPlay() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
class ABlasterHUD* BlasterHUD;
|
2022-05-05 15:57:57 +00:00
|
|
|
|
|
|
|
};
|