38 lines
631 B
C++
38 lines
631 B
C++
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/HUD.h"
|
|
#include "CarwatchHUD.generated.h"
|
|
|
|
UCLASS()
|
|
class ACarwatchHUD : public AHUD
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
ACarwatchHUD();
|
|
|
|
virtual void DrawHUD() override;
|
|
|
|
class UTexture2D* CrosshairTex;
|
|
|
|
float timeCredits = 0;
|
|
float offsetCredits = 0;
|
|
|
|
|
|
UFont* font0;
|
|
UFont* font4;
|
|
UFont* font9;
|
|
|
|
void Tick(float DeltaTime) override;
|
|
|
|
void Credits();
|
|
void DrawTextCredits(int type, FText text, float offset);
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "yo")
|
|
bool _credits = false;
|
|
};
|
|
|