Update roadmap and build workflow
This commit is contained in:
@@ -28,7 +28,7 @@ void AAgrarianDebugHUD::DrawHUD()
|
||||
DrawInventory(AgrarianCharacter->GetInventoryComponent(), X, Y);
|
||||
}
|
||||
|
||||
void AAgrarianDebugHUD::DrawSurvival(const UAgrarianSurvivalComponent* SurvivalComponent, float X, float& Y) const
|
||||
void AAgrarianDebugHUD::DrawSurvival(const UAgrarianSurvivalComponent* SurvivalComponent, float X, float& Y)
|
||||
{
|
||||
if (!SurvivalComponent)
|
||||
{
|
||||
@@ -46,7 +46,7 @@ void AAgrarianDebugHUD::DrawSurvival(const UAgrarianSurvivalComponent* SurvivalC
|
||||
Y += 10.0f * TextScale;
|
||||
}
|
||||
|
||||
void AAgrarianDebugHUD::DrawInventory(const UAgrarianInventoryComponent* InventoryComponent, float X, float& Y) const
|
||||
void AAgrarianDebugHUD::DrawInventory(const UAgrarianInventoryComponent* InventoryComponent, float X, float& Y)
|
||||
{
|
||||
if (!InventoryComponent)
|
||||
{
|
||||
@@ -69,7 +69,7 @@ void AAgrarianDebugHUD::DrawInventory(const UAgrarianInventoryComponent* Invento
|
||||
}
|
||||
}
|
||||
|
||||
void AAgrarianDebugHUD::DrawLine(const FString& Text, float X, float& Y, const FColor& Color) const
|
||||
void AAgrarianDebugHUD::DrawLine(const FString& Text, float X, float& Y, const FColor& Color)
|
||||
{
|
||||
DrawText(Text, Color, X, Y, nullptr, TextScale, false);
|
||||
Y += 18.0f * TextScale;
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
float TextScale = 1.0f;
|
||||
|
||||
protected:
|
||||
void DrawSurvival(const UAgrarianSurvivalComponent* SurvivalComponent, float X, float& Y) const;
|
||||
void DrawInventory(const UAgrarianInventoryComponent* InventoryComponent, float X, float& Y) const;
|
||||
void DrawLine(const FString& Text, float X, float& Y, const FColor& Color = FColor::White) const;
|
||||
void DrawSurvival(const UAgrarianSurvivalComponent* SurvivalComponent, float X, float& Y);
|
||||
void DrawInventory(const UAgrarianInventoryComponent* InventoryComponent, float X, float& Y);
|
||||
void DrawLine(const FString& Text, float X, float& Y, const FColor& Color = FColor::White);
|
||||
};
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "AgrarianGameGameMode.h"
|
||||
#include "AgrarianDebugHUD.h"
|
||||
#include "AgrarianGameState.h"
|
||||
|
||||
AAgrarianGameGameMode::AAgrarianGameGameMode()
|
||||
{
|
||||
GameStateClass = AAgrarianGameState::StaticClass();
|
||||
HUDClass = AAgrarianDebugHUD::StaticClass();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user